print_ggsurvfit | R Documentation |
Print ggsurvfit object
## S3 method for class 'ggsurvfit'
print(x, ...)
## S3 method for class 'ggcuminc'
print(x, ...)
x |
an object of class 'ggsurvfit' or 'ggcuminc' |
... |
These dots are for future extensions and must be empty. |
a printed ggplot2 figure
print(survfit2(Surv(time, status) ~ surg, data = df_colon))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.