Other packages > Find by keyword >

pec  

Prediction Error Curves for Risk Prediction Models in Survival Analysis
View on CRAN: Click here


Download and install pec package within the R console
Install from CRAN:
install.packages("pec")

Install from Github:
library("remotes")
install_github("cran/pec")

Install by package version:
library("remotes")
install_version("pec", "2023.04.12")



Attach the package and use:
library("pec")
Maintained by
Thomas A. Gerds
[Scholar Profile | Author Map]
All associated links for this package
First Published: 2008-07-28
Latest Update: 2023-04-11
Description:
Validation of risk predictions obtained from survival models and competing risk models based on censored data using inverse weighting and cross-validation. Most of the 'pec' functionality has been moved to 'riskRegression'.
How to cite:
Thomas A. Gerds (2008). pec: Prediction Error Curves for Risk Prediction Models in Survival Analysis. R package version 2023.04.12, https://cran.r-project.org/web/packages/pec. Accessed 06 Jun. 2025.
Previous versions and publish date:
1.0.7 (2008-07-28 08:18), 1.1.0 (2009-04-15 13:03), 1.1.1 (2009-06-24 16:04), 2.0.8 (2011-10-12 17:37), 2.1.1 (2011-12-15 11:39), 2.1.2 (2011-12-22 20:10), 2.1.7 (2012-01-30 21:18), 2.1.8 (2012-08-27 19:23), 2.1.9 (2012-08-28 22:07), 2.2.2 (2012-09-18 08:24), 2.2.4 (2012-10-30 12:50), 2.2.5 (2013-01-08 09:24), 2.2.6 (2013-01-08 16:28), 2.2.9 (2013-03-25 16:11), 2.3.7 (2014-09-05 17:51), 2.4.4 (2014-12-05 12:55), 2.4.7 (2015-10-05 12:58), 2.4.9 (2016-05-14 23:19), 2.5.3 (2017-03-06 15:45), 2.5.4 (2017-08-08 14:56), 2018.04.18 (2018-04-18 10:18), 2018.07.26 (2018-07-26 12:10), 2019.11.03 (2019-11-03 22:20), 2020.11.17 (2020-11-16 17:30), 2021.10.11 (2021-10-11 16:30), 2022.03.06 (2022-03-08 17:50), 2022.05.04 (2022-05-04 14:00)
Other packages that cited pec R package
View pec citation profile
Other R packages that pec depends, imports, suggests or enhances
Complete documentation for pec
Functions, R codes and Examples using the pec R package
Some associated functions: GBSG2 . Pbc3 . R2 . Special . calPlot . cindex . cost . coxboost . crps . ipcw . pec . pecCforest . pecCtree . pecRpart . plot.calibrationPlot . plot.pec . plotPredictEventProb . plotPredictSurvProb . predictEventProb . predictLifeYearsLost . predictRestrictedMeanTime . predictSurvProb . print.pec . reclass . resolvesplitMethod . selectCox . simCost . threecity . 
Some associated R codes: CindexBootstrapCrossValidation.R . CindexKFoldCrossValidation.R . ConfInt.Cindex.R . ConfScoreSurv.R . Dint.R . R2.R . Special.R . allComparisons.R . baselineHazard.coxph.R . bootstrapCrossValidation.R . calPlot.R . checkModels.R . cindex.R . crps.R . ibs.R . internalReevalFit.R . internalTalk.R . ipcw.R . kFoldCrossValidation.R . marginal.prodlim.R . pec-package.R . pec.R . plot.CiCindex.R . plot.Cindex.R . plot.calibrationPlot.R . plot.confScoreSurv.R . plot.pec.R . plot.riskReclassification.R . plotPredictEventProb.R . plotPredictSurvProb.R . predictEventProb.R . predictEventProb.coxboost.R . predictEventProb.pseudoForest.R . predictLandmark.R . predictLifeYearsLost.R . predictRestrictedMeanTime.R . predictSurvProb.FastBw.R . predictSurvProb.R . predictSurvProb.cforest.R . predictSurvProb.ctree.R . predictSurvProb.penfitS3.R . predictSurvProb.pseudoForest.R . print.Cindex.R . print.ConfScoreSurv.R . print.IPCW.R . print.R2.R . print.calibrationPlot.R . print.crps.R . print.method.R . print.multiSplitTest.R . print.pec.R . print.riskReclassification.R . print.splitMethod.R . print.vandeWielTest.R . pseudo.kFoldCrossValidation.R . reclass.R . resolveSplitMethod.R . selectCox.R . simCost.R . summary.Cindex.R . summary.confScoreSurv.R . summary.pec.R . survest.aalen.R . survest.cox.aalen.R . testResiduals.R .  Full pec package functions and examples
Downloads during the last 30 days

Today's Hot Picks in Authors and Packages

nextGenShinyApps  
Craft Exceptional 'R Shiny' Applications and Dashboards with Novel Responsive Tools
Nove responsive tools for designing and developing 'Shiny' dashboards and applications. The scripts ...
Download / Learn more Package Citations See dependency  
lodGWAS  
Genome-Wide Association Analysis of a Biomarker Accounting for Limit of Detection
Genome-wide association (GWAS) analyses of a biomarker that account for the limit of detection. ...
Download / Learn more Package Citations See dependency  
ROpenWeatherMap  
R Interface to OpenWeatherMap API
OpenWeatherMap (OWM) is a service providing weather related data. T ...
Download / Learn more Package Citations See dependency  
N2R  
Fast and Scalable Approximate k-Nearest Neighbor Search Methods using 'N2' Library
Implements methods to perform fast approximate K-nearest neighbor search on input matrix. Algorithm ...
Download / Learn more Package Citations See dependency  
ClusterBootstrap  
Analyze Clustered Data with Generalized Linear Models using the Cluster Bootstrap
Provides functionality for the analysis of clustered data using the cluster bootstrap. ...
Download / Learn more Package Citations See dependency  
tidyxl  
Read Untidy Excel Files
Imports non-tabular from Excel files into R.Exposes cell content, position and formatting in a tidy ...
Download / Learn more Package Citations See dependency  

24,352

R Packages

207,311

Dependencies

65,804

Author Associations

24,331

Publication Badges

© Copyright since 2022. All right reserved, rpkg.net.  Based in Cambridge, Massachusetts, USA