Tidy a survstan object
Usage
# S3 method for class 'survstan'
tidy(x, conf.int = FALSE, conf.level = 0.95, ...)
Examples
# \donttest{
library(survstan)
fit <- aftreg(Surv(futime, fustat) ~ ecog.ps + rx, data = ovarian, baseline = "weibull")
tidy(fit)
#> # A tibble: 2 × 5
#> term estimate std.error statistic p.value
#> <chr> <dbl> <dbl> <dbl> <dbl>
#> 1 ecog.ps -0.385045 0.526982 -0.730662 0.464986
#> 2 rx 0.528758 0.529197 0.999169 0.317713
# }