Description Usage Arguments See Also Examples
This theme is used for create figures in data analysis reports.
1 2 | theme_rp_light(font.size.legend.title = 12, font.size.legend.text = 10,
font.size.axis.x = 12, font.size.axis.y = 12)
|
font.size.legend.title |
Font size of legend title. |
font.size.legend.text |
Font size of legend text. |
font.size.axis.x |
Font size of axis x. |
font.size.axis.y |
Font size of axis y. |
Other themes: theme_yk_academic
,
theme_yk_business
1 2 3 4 5 6 7 | library("ggplot2")
# Line and scatter plot colors
p <- ggplot(mtcars) +
geom_point(aes(x = wt, y = mpg, colour = factor(gear))) +
facet_wrap(~am)
p + theme_rp_light()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.