Package: survminer 0.5.2.999

survminer: Drawing Survival Curves using 'ggplot2'

Contains the function 'ggsurvplot()' for drawing easily beautiful and 'ready-to-publish' survival curves with the 'number at risk' table and 'censoring count plot'. Other functions are also available to plot adjusted curves for `Cox` model and to visually examine 'Cox' model assumptions.

Authors:Alboukadel Kassambara [aut, cre], Marcin Kosinski [aut], Przemyslaw Biecek [aut], Scheipl Fabian [ctb]

survminer_0.5.2.999.tar.gz
survminer_0.5.2.999.zip(r-4.7)survminer_0.5.2.999.zip(r-4.6)survminer_0.5.2.999.zip(r-4.5)
survminer_0.5.2.999.tgz(r-4.6-any)survminer_0.5.2.999.tgz(r-4.5-any)
survminer_0.5.2.999.tar.gz(r-4.7-any)survminer_0.5.2.999.tar.gz(r-4.6-any)
survminer_0.5.2.999.tgz(r-4.6-emscripten)
manual.pdf |manual.html
DESCRIPTION |NEWS
card.svg |card.png
survminer/json (API)

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

Bug tracker:https://github.com/kassambara/survminer/issues

Datasets:

On CRAN:

Conda:

16.86 score 571 stars 65 packages 11k scripts 49k downloads 1.5k mentions 32 exports 89 dependencies

Last updated from:4327cb4820. Checks:9 OK. Indexed: yes.
A new build is currently in progress.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK277
source / vignettesOK230
linux-release-x86_64OK324
macos-release-arm64OK165
macos-oldrel-arm64OK164
windows-develOK230
windows-releaseOK222
windows-oldrelOK242
wasm-releaseOK169

Exports:%++%arrange_ggsurvplotsggadjustedcurvesggcompetingrisksggcoxdiagnosticsggcoxfunctionalggcoxzphggcumcensorggcumeventsggflexsurvplotggforestggrisktableggsurveventsggsurvplotggsurvplot_add_allggsurvplot_combineggsurvplot_dfggsurvplot_facetggsurvplot_group_byggsurvplot_listggsurvtablepairwise_survdiffsurv_adjustedcurvessurv_categorizesurv_cutpointsurv_fitsurv_group_bysurv_mediansurv_pvaluesurv_summarytheme_cleantabletheme_survminer

Dependencies:abindbackportsbootbroomcarcarDataclicolorspacecommonmarkcorrplotcowplotcpp11curlDerivdoBydplyrexactRankTestsfarverforecastFormulafracdiffgenericsggplot2ggpubrggrepelggsciggsignifggtextgluegridExtragridtextgtableisobandjpeglabelinglatticelifecyclelitedownlme4lmtestmagrittrmarkdownMASSMatrixMatrixModelsmaxstatmgcvminqamodelrmvtnormnlmenloptrnnetnumDerivpbkrtestpillarpkgconfigpngpolynompurrrquantregR6rbibutilsRColorBrewerRcppRcppArmadilloRcppEigenRdpackreformulasrlangrstatixS7scalesSparseMstringistringrsurvivaltibbletidyrtidyselecttimeDateurcautf8vctrsviridisLitewithrxfunxml2zoo

Specifiyng weights in Log-rank comparisons
Log-rank statistic for 2 groups | Weighted Log-rank extensions | Why are they useful? | Plots | Log-rank (survdiff) | Log-rank (weighted) | Gehan-Breslow (generalized Wilcoxon) | Tharone-Ware | Peto-Peto's modified survival estimate | modified Peto-Peto's (by Andersen) | Fleming-Harrington (p=1, q=1) | References

Last update: 2026-02-24
Started: 2017-01-30

Survival plots have never been so informative
Motivation | Example | Comparisons | base package

Last update: 2026-02-24
Started: 2016-05-25

ggforest: How to Show Interactions Hazard Ratio
Introduction | Load required R packages | Compute a Cox model with interaction terms

Last update: 2020-12-20
Started: 2020-12-20

Playing with fonts and texts
Survival plot | Basic | Customized | Risk table | ncens plot | Notes

Last update: 2017-03-13
Started: 2017-01-15

Readme and manuals

Help Manual

Help pageTopics
Add Components to a ggsurvplot%++% +.ggsurv add_ggsurvplot
Arranging Multiple ggsurvplotsarrange_ggsurvplots
Bone Marrow TransplantBMT
Breast and Ovarian Cancers Survival InformationBRCAOV.survInfo
Adjusted Survival Curves for Cox Proportional Hazards Modelggadjustedcurves surv_adjustedcurves
Cumulative Incidence Curves for Competing Risksggcompetingrisks
Diagnostic Plots for Cox Proportional Hazards Model with ggplot2ggcoxdiagnostics
Functional Form of Continuous Variable in Cox Proportional Hazards Modelggcoxfunctional print.ggcoxfunctional
Graphical Test of Proportional Hazards with ggplot2ggcoxzph print.ggcoxzph
Ggplots of Fitted Flexible Survival Modelsggflexsurvplot
Forest Plot for Cox Proportional Hazards Modelggforest
Plot Survival Tablesggcumcensor ggcumevents ggrisktable ggsurvtable
Distribution of Events' Timesggsurvevents
Drawing Survival Curves Using ggplot2ggsurvplot grid.draw.ggsurvplot print.ggsurvplot
Add Survival Curves of Pooled Patients onto the Main Plotggsurvplot_add_all
ggsurvplot Argument Descriptionsggsurvplot_arguments
Combine a List of Survfit Objects on the Same Plotggsurvplot_combine
Plot Survival Curves from Survival Summary Data Frameggsurvplot_df
Facet Survival Curves into Multiple Panelsggsurvplot_facet
Survival Curves of Grouped Data setsggsurvplot_group_by
Plot a List of Survfit Objectsggsurvplot_list
Multiple Myeloma Datamyeloma
Multiple Comparisons of Survival Curvespairwise_survdiff
Determine the Optimal Cutpoint for Continuous Variablesplot.surv_cutpoint print.plot_surv_cutpoint print.surv_cutpoint summary.surv_cutpoint surv_categorize surv_cutpoint
Create Survival Curvessurv_fit
Create a Grouped Dataset for Survival Analysissurv_group_by
Median of Survival Curvessurv_median
Compute P-value Comparing Survival Curvessurv_pvalue
Nice Summary of a Survival Curvesurv_summary
Theme for Survminer Plotstheme_cleantable theme_survminer