Returns the stable model-information rows retained by regtab() or
survtab(), including analysed N, estimator, convergence, boundary, failure,
and error fields where applicable. Unlike the conventional accessors,
model_info() may select a failed outcome because its purpose is to inspect
that failure.
Examples
data(epitabl)
fit <- regtab(
epitabl, "rehospitalized", ~ age + sex,
family = binomial("logit"), robust = FALSE
)
model_info(fit)
#> outcome n family link robust vcov method dispersion events
#> 1 rehospitalized 1500 binomial logit FALSE none glm NA 520
#> exponentiate converged boundary failed error
#> 1 TRUE TRUE FALSE FALSE <NA>