Benchmark the main functions of CohortCharacteristics package.
Source:R/benchmarkCohortCharacteristics.R
benchmarkCohortCharacteristics.Rd
Benchmark the main functions of CohortCharacteristics package.
Usage
benchmarkCohortCharacteristics(
cohort,
analysis = c("count", "attrition", "characteristics", "overlap", "timing",
"large scale characteristics")
)
Examples
if (FALSE) { # \dontrun{
CDMConnector::requireEunomia()
con <- duckdb::dbConnect(duckdb::duckdb(), CDMConnector::eunomiaDir())
cdm <- CDMConnector::cdmFromCon(
con = con, cdmSchema = "main", writeSchema = "main"
)
cdm <- CDMConnector::generateConceptCohortSet(
cdm = cdm,
conceptSet = list(sinusitis = 40481087, pharyngitis = 4112343),
name = "my_cohort"
)
benchmarkCohortCharacteristics(cdm$my_cohort)
} # }