themeVisOmop: Apply visOmopResults default styling to a ggplot

View source: R/plottingThemes.R

themeVisOmopR 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()

visOmopResults documentation built on Sept. 9, 2025, 5:42 p.m.