View source: R/extract_models.R
| extract_models | R Documentation | 
When conducting a joint-significant test, different models are
fitted to the data. This function helps accessing the models used in an
object of class mediation_model.
extract_models(mediation_model)
| mediation_model | An object of class  | 
A list of lm objects.
Other extract functions: 
extract_model(),
extract_tidy_models()
data(ho_et_al)
ho_et_al$condition_c <- build_contrast(ho_et_al$condition,
                                       "Low discrimination",
                                       "High discrimination")
my_model <-
  mdt_simple(data = ho_et_al,
             IV = condition_c,
             DV = hypodescent,
             M = linkedfate)
extract_models(my_model)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.