View source: R/plottingThemes.R
themeDarwin | R Documentation |
Apply Darwin styling to a ggplot
themeDarwin(fontsizeRef = 10)
fontsizeRef |
An integer to use as reference when adjusting label fontsize. |
result <- mockSummarisedResult() |> dplyr::filter(variable_name == "age")
barPlot(
result = result,
x = "cohort_name",
y = "mean",
facet = c("age_group", "sex"),
colour = "sex") +
themeDarwin()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.