50% off | Unlimited Data & AI Learning

Last chance! 50% off unlimited learning

Sale ends in


ggsurvfit (version 1.1.0)

print_ggsurvfit: Print ggsurvfit object

Description

Print ggsurvfit object

Usage

# S3 method for ggsurvfit
print(x, ...)

# S3 method for ggcuminc print(x, ...)

Value

a printed ggplot2 figure

Arguments

x

an object of class 'ggsurvfit' or 'ggcuminc'

...

These dots are for future extensions and must be empty.

Examples

Run this code
print(survfit2(Surv(time, status) ~ surg, data = df_colon))

Run the code above in your browser using DataLab