powered by
Glance accepts a model object and returns a tibble with exactly one row of model summaries.
# S3 method for flexsurvreg glance(x, ...)
A one-row tibble containing columns:
tibble
N Number of observations used in fitting
N
events Number of events
events
censored Number of censored events
censored
trisk Total length of time-at-risk (i.e. follow-up)
trisk
df Degrees of freedom (i.e. number of estimated parameters)
df
logLik Log-likelihood
logLik
AIC Akaike's "An Information Criteria"
AIC
BIC Bayesian Information Criteria
BIC
Output from flexsurvreg or flexsurvspline, representing a fitted survival model object.
flexsurvreg
flexsurvspline
Not currently used.
fitg <- flexsurvreg(formula = Surv(futime, fustat) ~ age, data = ovarian, dist = "gengamma") glance(fitg)
Run the code above in your browser using DataLab