Learn R Programming

CodelistGenerator (version 3.4.0)

subsetOnDomain: Subset a codelist to only those codes from a particular domain

Description

Subset a codelist to only those codes from a particular domain

Usage

subsetOnDomain(x, cdm, domain)

Value

The codelist with only those concepts associated with the domain

Arguments

x

Codelist

cdm

A cdm reference

domain

Domains. Use getDomains() to find the available domains in a cdm