View source: R/theme_serene_void.R
theme_serene_void | R Documentation |
Basic theme for Bivaran packages plots
theme_serene_void(
base_size = 11,
base_family = "sans",
base_fontface = "plain",
base_line_size = base_size/22,
base_rect_size = base_size/2,
axis_text_angle = 0,
border = FALSE
)
base_size |
base font size, given in pts. |
base_family |
base font family |
base_fontface |
base font face |
base_line_size |
base line size |
base_rect_size |
base rect size |
axis_text_angle |
Axis text angle |
border |
Logical operator to indicate if the border should be printed |
Returns a list of classes "gg" and "theme"
Jhoselin Marian Castro-Rodriguez
library(ggplot2)
data <- mtcars
p1 <- ggplot(data, aes(disp, hp))+
geom_point()+
geom_smooth()
p1 + theme_serene_void()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.