pencal
is the R
package that implements Penalized Regression Calibration (PRC), a statistical method that we proposed in Signorelli et al. (2021). Penalized regression calibration: A method for the prediction of survival outcomes using complex longitudinal and high-dimensional data. Statistics in Medicine, 40 (27), 6178-6196. A detailed description of how to use PRC to do dynamic prediction of survival can be found in Signorelli (in review). pencal
: an R
Package for the Dynamic Prediction of Survival with Many Longitudinal Predictors.
This repository contains the development version of the R
package. The latest CRAN version can be found here.
To install the latest CRAN
version of the package you may use:
install.packages('pencal')
If you encounter problems with packages on which pencal
depends, you may alternatively install the package using BiocManager
:
if (!require("BiocManager", quietly = TRUE)) install.packages("BiocManager")
BiocManager::install('pencal')
You can install the development version of pencal from GitHub with:
# install.packages("devtools")
devtools::install_github("mirkosignorelli/pencal_devel")
More information on PRC can be found at the following pages: