makePhenoTable: Converts narrow code table to wide phenotype table

Description Usage Arguments Value

View source: R/makePhenoTable.R

Description

Converts narrow code table to wide phenotype table

Usage

1
makePhenoTable(data, code_var = "dx", vocab = "ICD")

Arguments

data

Data frame/table with which to apply function to

code_var

String. Specifies the column name of the code variable

vocab

String. Specifies which clinical vocabulary is in use (ICD10, OPCS4, CPRD)

Value

data.table which is a wide phenotype table


tomlincr/CALIBERate documentation built on March 19, 2021, 9 p.m.