View source: R/print_ascii_survival.R
print_ascii_survival | R Documentation |
Print an ascii survival curve
print_ascii_survival(fit)
fit |
fit. A survival object created by survival::survfit() |
fit <- survival::survfit(
survival::Surv(followup_days, event_status,
type = "right"
) ~ condition,
data = cohort_survival
)
print_ascii_survival(fit)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.