Description Usage Arguments See Also Examples
A ggplot2 theme with no background and Times New Roman font.
1 |
plot.box |
logical. If |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | ## Not run:
ggplot(reorder_by(cyl, ~-cyl , mtcars, length), aes(x=as.factor(cyl))) +
geom_bar() +
theme_apa() +
y0(cushion(as.factor(mtcars$cyl))) +
xlab("Cylinders") +
ylab("Total")
ggplot(reorder_by(cyl, ~-cyl , mtcars, length), aes(x=as.factor(cyl))) +
geom_bar() +
theme_apa(plot.box=T) +
y0(cushion(as.factor(mtcars$cyl))) +
xlab("Cylinders") +
ylab("Total")
ggplot(reorder_by(cyl, ~-cyl , mtcars, length), aes(x=as.factor(cyl))) +
geom_bar() +
theme_basic() +
theme_apa() +
y0(cushion(as.factor(mtcars$cyl))) +
xlab("Cylinders") +
ylab("Total")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.