Reference: Gerds, T.A. and Kattan, M.W. 2021. Medical Risk Prediction Models: With Ties to Machine Learning. Chapman & Hall/CRC, Boca Raton, FL.
This repository provides synthetic (computer modified) data and R-codes for all chapters. To conveniently run the codes on your computer there are the following two options.
Install package devtools
. This is needed to install packages from
github.
if(require(devtools)==FALSE) install
install_github("tagteam/MedicalRiskPredictionModels",dep=TRUE)
Install the most recent version of the R-package riskRegression:
devtools::install_github("tagteam/MedicalRiskPredictionModels")
Install the most recent version of the R-package MedicalRiskPredictionModels:
devtools::install_github("tagteam/MedicalRiskPredictionModels")
Navigate to the subdirectory examples
of the githup repository and
download the files with the R-code, alternatively use the
corresponding R-markdown files in the subdirectory vignettes
.
Create a new project via version control, see
Find the chapter specific R-codes in the subdirectory examples
of
the project, alternatively use the corresponding R-markdown files in
the subdirectory vignettes
.