Skip to content

Commit

Permalink
Update INSTALL.md
Browse files Browse the repository at this point in the history
  • Loading branch information
sophieball authored Jan 28, 2019
1 parent 86bae40 commit 1c50482
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions INSTALL.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
To reproduce the model in our paper, one can run [R/survival_analysis.R](R/survival_analysis.R). `survival_analysis.R` reads data from
`surv_data.csv`, which one can obtain by downloading and upzipping [data/surv_data_anonymized.csv.zip](data/surv_data_anonymized.csv.zip) and saving it in the
same directory as the file `survival_analysis.R`.

`survival_analysis.R` requires the following libraries: `survival`, `coxme`, `htmlTable`, `OIsurv`, `sqldf`, `ggplot2`, and `survminer`.

To reproduce the model of survey result, one can run [R/survey.R](R/survey.R). `survey.R` reads data from `survey.csv`, which can be found in the [data/](data/) folder.

`survey.R` requires the following libraries: `psy`, `Hmisc`, `pls`, `pscl`, and `pROC`.

0 comments on commit 1c50482

Please sign in to comment.