I think we need to correct the colour variable and give more options to facet
cdm <- OmopSketch::mockOmopSketch()
#> Note: method with signature 'DBIConnection#Id' chosen for function 'dbExistsTable',
#> target signature 'duckdb_connection#Id'.
#> "duckdb_connection#ANY" would also be valid
result <- OmopSketch::summariseObservationPeriod(cdm$observation_period, sex = TRUE)
OmopSketch::plotObservationPeriod(result, variableName = "records per person", plotType = "densityplot")
I think we need to correct the colour variable and give more options to facet
Created on 2024-10-15 with reprex v2.1.1