summariseDoseCoverage {DrugUtilisation} | R Documentation |
Check coverage of daily dose computation in a sample of the cdm for selected concept sets and ingredient
Description
Check coverage of daily dose computation in a sample of the cdm for selected concept sets and ingredient
Usage
summariseDoseCoverage(
cdm,
ingredientConceptId,
estimates = c("count_missing", "percentage_missing", "mean", "sd", "q25", "median",
"q75"),
sampleSize = NULL
)
Arguments
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 |
Value
The function returns information of the coverage of computeDailyDose.R for the selected ingredients and concept sets
Examples
library(DrugUtilisation)
cdm <- mockDrugUtilisation()
summariseDoseCoverage(cdm = cdm, ingredientConceptId = 1125315)
[Package DrugUtilisation version 1.0.4 Index]