theme_significance {RSSthemes} | R Documentation |
Significance theme
Description
Custom ggplot theme
Usage
theme_significance(
family = "Source Sans Pro",
base_size = 13,
hjust = 0,
text_col = "black",
bg_col = "white"
)
Arguments
family |
Font used for all text elements. Default "Source Sans Pro". |
base_size |
Base font size for text elements. Default 12. |
hjust |
Horizontal alignment of title, subtitle, and caption. Default 0. |
text_col |
Text colour. Default "black". |
bg_col |
Background colour. Default "white". |
Value
A ggplot2 theme
Examples
library(ggplot2)
ggplot(data = mtcars, aes(x = mpg, y = disp, color = wt)) +
geom_point() +
theme_significance()
[Package RSSthemes version 1.0.0 Index]