#' This function allows you to load ggplot custom-theme
#'
#' @export
custom_theme = ggplot2::theme(
axis.title.x = ggplot2::element_text(size = 15),
axis.title.y = ggplot2::element_text(size = 15),
axis.text.x = ggplot2::element_text(size = 12),
axis.text.y = ggplot2::element_text(size = 12),
panel.grid.major = ggplot2::element_line(linetype = 2),
panel.grid.minor = ggplot2::element_line(linetype = 2),
plot.title = ggplot2::element_text(size = 18, colour = "grey25", face = "bold"),
plot.subtitle = ggplot2::element_text(size = 16, colour = "grey44"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.