Skip to contents

[Defunct]

Usage

summariseDrugUse(
  cohort,
  cdm = lifecycle::deprecated(),
  strata = list(),
  estimates = c("min", "q05", "q25", "median", "q75", "q95", "max", "mean", "sd",
    "count_missing", "percentage_missing"),
  minCellCount = lifecycle::deprecated()
)

Arguments

cohort

Cohort with drug use variables and strata.

cdm

Deprecated.

strata

Stratification list.

estimates

Estimates that we want for the columns.

minCellCount

Deprecated.

Value

A summary of the drug use stratified by cohort_name and strata_name