theme_rp_light: Theme for reports

Description Usage Arguments See Also Examples

View source: R/theme_report.R

Description

This theme is used for create figures in data analysis reports.

Usage

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)

Arguments

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.

See Also

Other themes: theme_yk_academic, theme_yk_business

Examples

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()

purplezippo/ggpkt documentation built on May 21, 2019, 10:34 a.m.