tidy.survstan {survstan} | R Documentation |
Tidy a survstan object
Description
Tidy a survstan object
Usage
## S3 method for class 'survstan'
tidy(x, conf.int = FALSE, conf.level = 0.95, ...)
Arguments
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. |
Details
Convert a fitted model into a tibble.
Value
a tibble with a summary of the fit.
Examples
library(survstan)
fit <- aftreg(Surv(futime, fustat) ~ ecog.ps + rx, data = ovarian, baseline = "weibull")
tidy(fit)
[Package survstan version 0.0.7.1 Index]