View source: R/plottingThemes.R
themeVisOmop | R Documentation |
Apply visOmopResults default styling to a ggplot
themeVisOmop(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") +
themeVisOmop()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.