
ROME ggplot2 theme
ROME_ggtheme.RdA clean, minimal theme based on ggplot2::theme_bw() with
custom title, subtitle, legend, strip, and axis styling.
Examples
if (FALSE) {
if (requireNamespace("ggplot2", quietly = TRUE)) {
p <- ggplot2::ggplot(mtcars, ggplot2::aes(x = factor(cyl))) +
ggplot2::geom_bar() +
ggplot2::labs(title = "ROME theme demo")
# Add the theme to a single plot:
p + ROME_ggtheme()
# Set as the global default for this session:
ggplot2::theme_set(ROME_ggtheme())
}
}