| glance.flexsurvreg {flexsurv} | R Documentation |
Glance at a flexsurv model object
Description
Glance accepts a model object and returns a tibble with exactly one row of model summaries.
Usage
## S3 method for class 'flexsurvreg'
glance(x, ...)
Arguments
x |
Output from |
... |
Not currently used. |
Value
A one-row tibble containing columns:
-
NNumber of observations used in fitting -
eventsNumber of events -
censoredNumber of censored events -
triskTotal length of time-at-risk (i.e. follow-up) -
dfDegrees of freedom (i.e. number of estimated parameters) -
logLikLog-likelihood -
AICAkaike's "An Information Criteria" -
BICBayesian Information Criteria
Examples
fitg <- flexsurvreg(formula = Surv(futime, fustat) ~ age, data = ovarian, dist = "gengamma")
glance(fitg)
[Package flexsurv version 2.3 Index]