Learn R Programming

⚠️There's a newer version (2025.06.24) of this package.Take me there.

pec (version 1.0.7)

Prediction Error Curves for Survival Models

Description

Validation of predicted surival probabilities using inverse weighting and resampling.

Copy Link

Version

Install

install.packages('pec')

Monthly Downloads

12,767

Version

1.0.7

License

GPL (>= 2)

Maintainer

Thomas Alexander Gerds

Last Published

July 24th, 2025

Functions in pec (1.0.7)

R2

Summarizing prediction error curves
ipcw

Estimation of censoring probabilities
plot.pec

Plotting prediction error curves
pec

Prediction error curves
predictSurvProb

Predicting survival probabilities
print.pec

Printing a `pec' (prediction error curve) object.
GBSG2

German Breast Cancer Study Group 2