Learn R Programming

CodelistGenerator (version 3.4.0)

stratifyByConcept: Stratify a codelist by the concepts included within it

Description

Stratify a codelist by the concepts included within it

Usage

stratifyByConcept(x, cdm, keepOriginal = FALSE)

Value

A codelist

Arguments

x

A codelist

cdm

A cdm reference

keepOriginal

Whether to keep the original codelist and append the stratify (if TRUE) or just return the stratified codelist (if FALSE).