| theme_besthr | R Documentation |
A custom theme for besthr plots. The "classic" theme matches the original besthr appearance, while "modern" provides a cleaner, more contemporary look.
theme_besthr(style = "classic", base_size = 11, base_family = "")
style |
Character string specifying the theme style. Options are:
|
base_size |
Base font size (default 11) |
base_family |
Base font family |
A ggplot2 theme object
library(ggplot2)
ggplot(mtcars, aes(mpg, wt)) +
geom_point() +
theme_besthr("modern")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.