tidy.survstan: Tidy a survstan object

View source: R/tidy.R

tidy.survstanR 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)



survstan documentation built on May 29, 2024, 8:41 a.m.