/pencal_devel

Fork of R package pencal (development version). pencal is the R package that implements Penalized Regression Calibration (Signorelli et al., 2021), a method for the dynamic prediction of survival that can deal with a large number of longitudinal covariates

Primary LanguageRGNU General Public License v3.0GPL-3.0

R package pencal (development version)

CRAN_Status_Badge Total Downloads Monthly Downloads

pencal: what's that?

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.

About this repository

This repository contains the development version of the R package. The latest CRAN version can be found here.

Installing pencal

CRAN version (recommended)

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')

Development version

You can install the development version of pencal from GitHub with:

# install.packages("devtools")
devtools::install_github("mirkosignorelli/pencal_devel")

Further information

More information on PRC can be found at the following pages: