Package: SuperSurv 0.1.2

SuperSurv: A Unified Framework for Machine Learning Ensembles in Survival Analysis

Implements a Super Learner framework for right-censored survival data. The package fits convex combinations of parametric, semiparametric, and machine learning survival learners by minimizing cross-validated risk using inverse probability of censoring weighting (IPCW). It provides tools for automated hyperparameter grid search, high-dimensional variable screening, and evaluation of prediction performance using metrics such as the Brier score, Uno's C-index, and time-dependent area under the curve (AUC). Additional utilities support model interpretation for survival ensembles, including Shapley additive explanations (SHAP), and estimation of covariate-adjusted restricted mean survival time (RMST) contrasts. The methodology is related to treatment-specific survival curve estimation using machine learning described by Westling et al. (2024) <doi:10.1080/01621459.2023.2205060>, and the unified ensemble framework described in Lyu et al. (2026) <doi:10.64898/2026.03.11.711010>.

Authors:Yue Lyu [aut, cre]

SuperSurv_0.1.2.tar.gz
SuperSurv_0.1.2.zip(r-4.7)SuperSurv_0.1.2.zip(r-4.6)SuperSurv_0.1.2.zip(r-4.5)
SuperSurv_0.1.2.tgz(r-4.6-any)SuperSurv_0.1.2.tgz(r-4.5-any)
SuperSurv_0.1.2.tar.gz(r-4.7-any)SuperSurv_0.1.2.tar.gz(r-4.6-any)
SuperSurv_0.1.2.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
SuperSurv/json (API)

# Install 'SuperSurv' in R:
install.packages('SuperSurv', repos = c('https://yuelyu21.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/yuelyu21/supersurv/issues

Pkgdown/docs site:https://yuelyu21.github.io

Datasets:
  • metabric - METABRIC Breast Cancer Dataset

On CRAN:

Conda:

5.68 score 271 downloads 51 exports 26 dependencies

Last updated from:230703e7aa. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK208
source / vignettesOK395
linux-release-x86_64OK205
macos-release-arm64OK233
macos-oldrel-arm64OK204
windows-develOK273
windows-releaseOK153
windows-oldrelOK157
wasm-releaseOK143

Exports:censor_weightscreate_gridestimate_marginal_rmsteval_briereval_cindexeval_summaryeval_timeROCeval_timesevent_weightsexplain_kernelexplain_survexlearner_nameslist_wrappersplot_beeswarmplot_benchmarkplot_calibrationplot_dependenceplot_global_importanceplot_marginal_rmst_curveplot_patient_waterfallplot_predictplot_rmst_vs_obsplot_survival_heatmapscreen.allscreen.elasticnetscreen.glmnetscreen.margscreen.rfsrcscreen.varselected_variablesSuperSurvsurv.aorsfsurv.bartsurv.coxboostsurv.coxphsurv.exponentialsurv.gamsurv.gbmsurv.glmnetsurv.kmsurv.loglogisticsurv.lognormalsurv.parametricsurv.rangersurv.rfsrcsurv.ridgesurv.rpartsurv.svmsurv.weibullsurv.xgboosttraining_variables

Dependencies:clicodetoolsdigestdplyrfuturefuture.applygenericsglobalsgluelatticelifecyclelistenvmagrittrMatrixnnlsparallellypillarpkgconfigR6rlangsurvivaltibbletidyselectutf8vctrswithr

Installation & Setup

Rendered frominstallation.Rmdusingknitr::rmarkdownon Jun 03 2026.

Last update: 2026-05-03
Started: 2026-03-03

SuperSurv with Ensemble

Rendered fromsupersurv-ensemble.Rmdusingknitr::rmarkdownon Jun 03 2026.

Last update: 2026-05-03
Started: 2026-02-25

Model Performance & Benchmarking

Rendered frommodel-performance.Rmdusingknitr::rmarkdownon Jun 03 2026.

Last update: 2026-05-03
Started: 2026-02-25

Ensemble vs. Best Model Selection

Rendered fromsupersurv-best.Rmdusingknitr::rmarkdownon Jun 03 2026.

Last update: 2026-05-03
Started: 2026-02-25

High-Dimensional Data & Variable Screening

Rendered fromscreening-methods.Rmdusingknitr::rmarkdownon Jun 03 2026.

Last update: 2026-05-03
Started: 2026-02-25

Advanced Hyperparameter Tuning & Grid Search

Rendered fromgrid-search.Rmdusingknitr::rmarkdownon Jun 03 2026.

Last update: 2026-05-03
Started: 2026-03-03

Machine Learning with Random Survival Forests

Rendered frombase-learner-rfsrc.Rmdusingknitr::rmarkdownon Jun 03 2026.

Last update: 2026-05-03
Started: 2026-02-25

Parametric Survival Models

Rendered fromparametric-models.Rmdusingknitr::rmarkdownon Jun 03 2026.

Last update: 2026-05-03
Started: 2026-02-25

Interpreting the Black Box with SHAP & survex

Rendered fromshap-explanations.Rmdusingknitr::rmarkdownon Jun 03 2026.

Last update: 2026-05-03
Started: 2026-02-25

Causal Effects and Adjusted Marginal Contrasts (RMST)

Rendered fromcausal-rmst.Rmdusingknitr::rmarkdownon Jun 03 2026.

Last update: 2026-05-03
Started: 2026-03-02

Scaling Up with Parallel Processing

Rendered fromscaleup-parallel.Rmdusingknitr::rmarkdownon Jun 03 2026.

Last update: 2026-03-03
Started: 2026-02-25

Extending SuperSurv

Rendered fromextending-supersurv.Rmdusingknitr::rmarkdownon Jun 03 2026.

Last update: 2026-05-01
Started: 2026-04-21

Readme and manuals

Help Manual

Help pageTopics
Extract SuperSurv ensemble coefficientscoef.SuperSurv
Estimate an Adjusted Marginal RMST Contrastestimate_marginal_rmst
IPCW Brier Score and Integrated Brier Score (IBS)eval_brier
Calculate Concordance Index (Harrell's or Uno's)eval_cindex
Evaluate SuperSurv predictions on test dataeval_summary
Time-Dependent AUC and Integrated AUCeval_timeROC
Access SuperSurv prediction evaluation timeseval_times eval_times.SuperSurv
Access SuperSurv ensemble weightscensor_weights censor_weights.SuperSurv event_weights event_weights.SuperSurv
Explain Predictions with Global SHAP (Kernel SHAP)explain_kernel
Create a Time-Dependent Survex Explainerexplain_survex
Access SuperSurv learner nameslearner_names learner_names.SuperSurv
List Available Wrappers and Screeners in SuperSurvlist_wrappers
METABRIC Breast Cancer Datasetmetabric
Beeswarm Summary Plot for SuperSurv SHAPplot_beeswarm
Plot Longitudinal Benchmark Metricsplot_benchmark
Plot Survival Calibration Curveplot_calibration
Plot SHAP Dependence for SuperSurvplot_dependence
Plot Global Feature Importance for SuperSurvplot_global_importance
Plot Adjusted Marginal RMST Contrast Over Timeplot_marginal_rmst_curve
Waterfall Plot for an Individual Patientplot_patient_waterfall
Plot Predicted Survival Curvesplot_predict
Plot Predicted RMST vs. Observed Survival Timesplot_rmst_vs_obs
Survival Probability Heatmapplot_survival_heatmap
Predict method for SuperSurv fitspredict.SuperSurv
Print a SuperSurv fitprint.SuperSurv
Keep All Variables Screenerscreen.all
Elastic Net Screening Algorithmscreen.elasticnet
GLMNET (Lasso) Screeningscreen.glmnet
Marginal Cox Regression Screeningscreen.marg
Random Survival Forest Screening Algorithmscreen.rfsrc
High Variance Screening Algorithm (Unsupervised)screen.var
Access variables selected by SuperSurv screenersselected_variables selected_variables.SuperSurv
Summarize a SuperSurv fitprint.summary.SuperSurv summary.SuperSurv
Super Learner for conditional survival functionsSuperSurv
Wrapper for AORSF (Oblique Random Survival Forest)surv.aorsf
Wrapper for BART (Bayesian Additive Regression Trees)surv.bart
Wrapper function for Component-Wise Boosting (CoxBoost)surv.coxboost
Wrapper for standard Cox Proportional Hazardssurv.coxph
Parametric Survival Prediction Wrapper (Exponential)surv.exponential
Wrapper for Generalized Additive Cox Regression (GAM)surv.gam
Wrapper function for Gradient Boosting (GBM) prediction algorithmsurv.gbm
Wrapper function for Penalized Cox Regression (GLMNET)surv.glmnet
Kaplan-Meier Prediction Algorithmsurv.km
Parametric Survival Prediction Wrapper (Log-Logistic)surv.loglogistic
Parametric Survival Prediction Wrapper (Log-Normal)surv.lognormal
Universal Parametric Survival Wrappersurv.parametric
Wrapper function for Ranger Random Survival Forestsurv.ranger
Wrapper function for Random Survival Forests (RFSRC)surv.rfsrc
Wrapper for Ridge Regression (Penalized Cox)surv.ridge
Wrapper for Survival Regression Trees (rpart)surv.rpart
Wrapper for Survival Support Vector Machine (survivalsvm)surv.svm
Parametric Survival Prediction Wrapper (Weibull)surv.weibull
Wrapper for XGBoost (Robust CV-Tuned + Safe Prediction)surv.xgboost
Access SuperSurv training variable namestraining_variables training_variables.SuperSurv