themeVisOmop {visOmopResults} | R Documentation |
Apply visOmopResults default styling to a ggplot
Description
Apply visOmopResults default styling to a ggplot
Usage
themeVisOmop(fontsizeRef = 10)
Arguments
fontsizeRef |
An integer to use as reference when adjusting label fontsize. |
Examples
result <- mockSummarisedResult() |> dplyr::filter(variable_name == "age")
barPlot(
result = result,
x = "cohort_name",
y = "mean",
facet = c("age_group", "sex"),
colour = "sex") +
themeVisOmop()
[Package visOmopResults version 1.1.1 Index]