View source: R/bage_mod-methods.R
| is_fitted | R Documentation |
Test whether fit() has been called on a model object.
is_fitted(x)
x |
An object of class |
TRUE or FALSE
mod_pois(), mod_binom(), mod_norm() to specify a model
fit() to fit a model
mod <- mod_pois(injuries ~ age + sex + year,
data = nzl_injuries,
exposure = popn)
is_fitted(mod)
mod <- fit(mod)
is_fitted(mod)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.