Learn R Programming

CodelistGenerator (version 3.4.0)

subsetOnDoseUnit: Subset a codelist to only those with a particular dose unit

Description

Subset a codelist to only those with a particular dose unit

Usage

subsetOnDoseUnit(x, cdm, doseUnit)

Value

The codelist with only those concepts associated with the dose unit

Arguments

x

Codelist

cdm

A cdm reference

doseUnit

Dose unit. Use getDoseUnit() to find the available dose units in a cdm