powered by
Run benchmark of drug utilisation cohort generation
benchmarkDrugUtilisation( cdm, ingredient = "acetaminophen", alternativeIngredient = c("ibuprofen", "aspirin", "diclofenac"), indicationCohort = NULL )
A summarise_result object.
A cdm_reference object.
cdm_reference
Name of ingredient to benchmark.
Name of ingredients to use as alternative treatments.
Name of a cohort in the cdm_reference object to use as indicatiomn.
# \donttest{ library(DrugUtilisation) library(omock) cdm <- mockCdmFromDataset(datasetName = "GiBleed", source = "duckdb") timings <- benchmarkDrugUtilisation(cdm) timings # }
Run the code above in your browser using DataLab