-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
86bae40
commit 1c50482
Showing
1 changed file
with
6 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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`. |