ref_models | R Documentation |
A function to define and run two reference models: Saturated and Independence.
The reference models are stored in the options
slot of the target model.
ref_models(model, ref_models = NULL, run = TRUE, ...)
get_ref_models(model)
model |
|
ref_models |
a named list of length two of |
run |
should we fit the reference models? Default is |
... |
arguments passed to |
the original model with two reference models appended in the option
slot.
If you provide the list with two reference models, the models have to be stored as 'Saturated'
and 'Independence'
object within this list. Otherwise they will be thrown away.
The reference models summarize the data, so don't forget to update the reference models if you modify the data.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.