summariseDoseCoverage | R Documentation |
Check coverage of daily dose computation in a sample of the cdm for selected concept sets and ingredient
summariseDoseCoverage(
cdm,
ingredientConceptId,
estimates = c("count_missing", "percentage_missing", "mean", "sd", "q25", "median",
"q75"),
sampleSize = NULL
)
cdm |
A |
ingredientConceptId |
Ingredient OMOP concept that we are interested for the study. |
estimates |
Estimates to obtain. |
sampleSize |
Maximum number of records of an ingredient to estimate dose
coverage. If an ingredient has more, a random sample equal to |
The function returns information of the coverage of computeDailyDose.R for the selected ingredients and concept sets
library(DrugUtilisation)
cdm <- mockDrugUtilisation()
summariseDoseCoverage(cdm = cdm, ingredientConceptId = 1125315)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.