tidy.survstan | R Documentation |
Tidy a survstan object
## S3 method for class 'survstan'
tidy(x, conf.int = FALSE, conf.level = 0.95, ...)
x |
a fitted model object. |
conf.int |
Logical indicating whether or not to include a confidence interval in the tidied output. Defaults to FALSE. |
conf.level |
the confidence level required. |
... |
further arguments passed to or from other methods. |
Convert a fitted model into a tibble.
a tibble with a summary of the fit.
library(survstan)
fit <- aftreg(Surv(futime, fustat) ~ ecog.ps + rx, data = ovarian, baseline = "weibull")
tidy(fit)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.