Skip to contents

Fit survival curves

Fit survival curves and compute p-values as well as median survival times.

surv_group_by()
Create a Grouped Dataset for Survival Analysis
surv_fit()
Create Survival Curves
surv_median()
Median of Survival Curves
surv_pvalue()
Compute P-value Comparing Survival Curves

Survival Curves

Summarize and visualize survival curves.

ggsurvplot() print(<ggsurvplot>)
Drawing Survival Curves Using ggplot2
ggflexsurvplot()
Ggplots of Fitted Flexible Survival Models
arrange_ggsurvplots()
Arranging Multiple ggsurvplots
ggsurvevents()
Distribution of Events' Times
surv_summary()
Nice Summary of a Survival Curve
surv_cutpoint() surv_categorize() summary(<surv_cutpoint>) print(<surv_cutpoint>) plot(<surv_cutpoint>) print(<plot_surv_cutpoint>)
Determine the Optimal Cutpoint for Continuous Variables
pairwise_survdiff()
Multiple Comparisons of Survival Curves

Diagnostics of Cox Model

ggcoxdiagnostics()
Diagnostic Plots for Cox Proportional Hazards Model with ggplot2
ggcoxfunctional() print(<ggcoxfunctional>)
Functional Form of Continuous Variable in Cox Proportional Hazards Model
ggcoxzph() print(<ggcoxzph>)
Graphical Test of Proportional Hazards with ggplot2

Summary of Cox Model

ggforest()
Forest Plot for Cox Proportional Hazards Model
ggadjustedcurves() surv_adjustedcurves()
Adjusted Survival Curves for Cox Proportional Hazards Model

Competing Risks

ggcompetingrisks()
Cumulative Incidence Curves for Competing Risks

Helpers

ggrisktable() ggcumevents() ggcumcensor() ggsurvtable()
Plot Survival Tables
ggsurvplot_df()
Plot Survival Curves from Survival Summary Data Frame
ggsurvplot_list()
Plot a List of Survfit Objects
ggsurvplot_group_by()
Survival Curves of Grouped Data sets
ggsurvplot_add_all()
Add Survival Curves of Pooled Patients onto the Main Plot
ggsurvplot_combine()
Combine a List of Survfit Objects on the Same Plot
ggsurvplot_facet()
Facet Survival Curves into Multiple Panels

Data

myeloma
Multiple Myeloma Data
BMT
Bone Marrow Transplant

Others

theme_survminer() theme_cleantable()
Theme for Survminer Plots
`+`(<ggsurv>) `%++%`
Add Components to a ggsurvplot
ggsurvplot_arguments
ggsurvplot Argument Descriptions
BRCAOV.survInfo
Breast and Ovarian Cancers Survival Information