View source: R/benchmarkCohortCharacteristics.R
| benchmarkCohortCharacteristics | R Documentation |
Benchmark the main functions of CohortCharacteristics package.
benchmarkCohortCharacteristics(
cohort,
analysis = c("count", "attrition", "characteristics", "overlap", "timing",
"large scale characteristics")
)
cohort |
A cohort_table from a cdm_reference. |
analysis |
Set of analysis to perform, must be a subset of: "count", "attrition", "characteristics", "overlap", "timing" and "large scale characteristics". |
A summarised_result object.
## Not run:
library(CohortCharacteristics)
library(omock)
library(CDMConnector)
cdm <- mockCdmFromDataset(datasetName = "GiBleed", source = "duckdb")
cdm <- generateConceptCohortSet(
cdm = cdm,
conceptSet = list(sinusitis = 40481087, pharyngitis = 4112343),
name = "my_cohort"
)
benchmarkCohortCharacteristics(cdm$my_cohort)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.