glance.flexsurvreg: Glance at a flexsurv model object

Description Usage Arguments Value Examples

View source: R/broom-funs.R

Description

Glance accepts a model object and returns a tibble with exactly one row of model summaries.

Usage

1
2
## S3 method for class 'flexsurvreg'
glance(x, ...)

Arguments

x

Output from flexsurvreg or flexsurvspline, representing a fitted survival model object.

...

Not currently used.

Value

A one-row tibble containing columns:

Examples

1
2
fitg <- flexsurvreg(formula = Surv(futime, fustat) ~ age, data = ovarian, dist = "gengamma")
glance(fitg)

flexsurv documentation built on Sept. 13, 2021, 5:07 p.m.