Description Usage Arguments Details Value
tidy_diagnosis
determines which patients have the desired diagnosis
1 | tidy_diagnosis(raw.data, ref.data, patients = NULL)
|
raw.data |
A data frame with all patient diagnosis codes |
ref.data |
A data frame with the desired diagnosis codes |
patients |
An optional data frame with a column pie.id including all patients in study |
Deprecated function, use tidy_icd
instead.
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.