Description Usage Arguments Details Value
tidy_icd
determines which patients have the desired ICD9/10 diagnosis
1 |
raw.data |
A data frame with all patient diagnosis codes |
ref.data |
A data frame with the desired diagnosis codes |
icd10 |
A logical indicating whether to use ICD-10 codes (default) or ICD-9 codes |
patients |
An optional data frame with a column pie.id including all patients in study |
This function takes a data frame with reference diagnosis codes and a data frame with all patient diagnosis codes, and returns a data frame with a logical for each disease state for each patient.
A data frame
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.