Description Usage Arguments Examples
Make ggplot
Pretty
1 | fig.pretty(ggplot, col = FALSE, rotate.x = FALSE)
|
ggplot |
A |
col |
A boolean. Toggles whether to color the figure with viridis. |
rotate.x |
A boolean. Toggles whether to rotate the x-axis. |
1 2 3 4 5 6 | ## Not run:
p <- ggplot(mtcars, aes(wt, mpg, col = cyl))
p <- p + geom_point()
fig.pretty(p, col = TRUE)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.