cleaning_mnd | R Documentation |
Create a dataset for survival and incidence calculation
cleaning_mnd( demo, dx, rx, codes_sys, codes_drug_sys, riluzole_name = "riluzole|rilutek", ... )
demo |
the dataset with demographic information, including id, dob, dod, sex, onset_date. Pls check the data shall. |
dx |
the dataset with all diagnosis information, including id, codes, ref_date, setting. Pls check the data shall. |
rx |
the dataset with all prescription records, including id, drug name, date of prescription start and end, type of presciption (IP, OP, AE, Discharge). Pls check the data shall. |
codes_sys |
can be "icd9", "icd10", or "readcodes" |
riluzole_name |
the name in your database stands for riluzole. |
two dataset:1) for incidence 2) for time varing cox
cleaning_mnd(demo, dx, rx, codes_drug_sys)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.