print_ggsurvfit: Print ggsurvfit object

print_ggsurvfitR Documentation

Description

Print ggsurvfit object

Usage

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

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

Arguments

x

an object of class 'ggsurvfit' or 'ggcuminc'

...

These dots are for future extensions and must be empty.

Value

a printed ggplot2 figure

Examples

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

ggsurvfit documentation built on May 29, 2024, 11:27 a.m.