Description Usage Arguments Details Examples
A ggplot2 theme with a white panel background, no grid lines, large axis and legend titles, and increased text padding for better readability.
A ggplot2 theme with a white panel background, no grid lines, large axis and legend titles, and increased text padding for better readability.
1 2 3 |
base_size |
Numeric. Base font size; other font sizes and margins are adjusted relative to this. |
base_family |
Character. Base font family. |
box |
Logical. Indicates whether to draw a box around the plot. |
This theme is an adaptation of theme_bw
. In ggplot2, themes set the
general aspect of the plot such as the colour of the background, gridlines, the size and colour
of fonts.
This theme is an adaptation of theme_bw
. In ggplot2, themes set the
general aspect of the plot such as the colour of the background, gridlines, the size and colour
of fonts.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | ## Not run:
# Copied from ?ggtheme
p <- ggplot(mtcars) + geom_point(aes(x = wt, y = mpg,
colour = factor(gear))) + facet_wrap(~ am)
p
p + theme_apa()
## End(Not run)
## Not run:
# Copied from ?ggtheme
p <- ggplot(mtcars) + geom_point(aes(x = wt, y = mpg,
colour = factor(gear))) + facet_wrap(~ am)
p
p + theme_apa()
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.