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 cdm reference created using CDMConnector.

ingredientConceptId

Code indicating the ingredient of interest.

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 sampleSize will be considered. If NULL, all records will be used.

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, 1125315)



[Package DrugUtilisation version 0.7.0 Index]