Learn R Programming

DrugExposureDiagnostics (version 1.1.6)

summariseQuantity: Summarise the quantity column of the drug_exposure table

Description

Summarise the quantity column of the drug_exposure table

Usage

summariseQuantity(
  cdm,
  drugRecordsTable = "ingredient_drug_records",
  byConcept = TRUE,
  sampleSize = sampleSize
)

Value

a table with the summarized quantity result

Arguments

cdm

CDMConnector reference object

drugRecordsTable

a modified version of the drug exposure table, default "ingredient_drug_records"

byConcept

whether to get result by drug concept

sampleSize

the sample size given in execute checks