patternTable {DrugUtilisation} | R Documentation |
Function to create a tibble with the patterns from current drug strength table
Description
Function to create a tibble with the patterns from current drug strength table
Usage
patternTable(cdm)
Arguments
cdm |
'cdm' object created with CDMConnector::cdm_from_con(). It must must contain 'drug_strength' and 'concept' tables. |
Value
The function creates a tibble with the different patterns found in the table, plus a column of potentially valid and invalid combinations.
Examples
library(DrugUtilisation)
cdm <- mockDrugUtilisation()
patternTable(cdm)
[Package DrugUtilisation version 0.7.0 Index]