-
## 1. Generate dataset
```
arr=c(0, 0, 0, 1, 1)
hist(arr)
plot( density( arr ) )
```
![01](https://user-images.githubusercontent.com/82499483/137442746-de15ab3a-3158-4035-86f4-30d1d6a93bab.png…
-
Currently plotly has a function to remove listed mode bar buttons.
It'd be nice if it had a function to keep listed mode bar buttons, and to drop the rest.
Otherwise the code is quite long-win…
-
From R-CMD-check (online, linked from checkmark next to commit), fix some Warnings:
- [x] Warning: '::' or ':::' import not declared from: ‘tibble’
- [x] Warning: Invalid license file pointers: LI…
-
Making a similar data set
```
Continent.range %
group_by(continent, year) %>%
summarise(Min_gdpPercapita = min(gdpPercap), Max_gdpPercapita = max(gdpPercap))
```
Now lets look at…
-
- these apply to size factors and top plots
- `theme_bw()`
- rotate x-axis labels
- have `top.plots` return ggplot objects so that the top gene plots can be tabbed instead of a grid layout
-
I keep getting "
could not find function "ggplot" as a message on R cloud studio. I'm not sure how to proceed to the next stop if I can't plug in certain codes
-
A very minor changed in ggplot2 v3.0.0 is that this now works:
`ggplot(mtcars, aes(y = disp)) + geom_boxplot()`
So x isn't required. This could simplify some of our code, although I don't like that …
-
I am a fan of showing graphs [layer by layer in slideshows](https://evangelinereynolds.netlify.com/post/layered-presentation-of-graphics-take-2/). I find that my workflow ends up being something like
…
-
When I try to import ggplot I get the following error.
ImportError: cannot import name 'UserDict'
> /usr/local/lib/python3.4/dist-packages/ggplot/aes.py(4)()
3
----> 4…
-
The function should add a provided logo (e.q. of the package) to the existing ggplot object in the desired place, to leave a trace of the origin of the plot.