Description Usage Arguments Value
View source: R/makePhenoTable.R
Converts narrow code table to wide phenotype table
1 | makePhenoTable(data, code_var = "dx", vocab = "ICD")
|
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) |
data.table which is a wide phenotype table
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.