outcome_model | R Documentation |
This is an accessor to the outcome slot of a multimedia object.
outcome_model(object)
object |
An object of class multimedia. |
NULL, if not fitted, or the model learned from the training mediation data object. For models fit in parallel across outcomes (e.g., glmnet_model()) a list of separate model objects. For models fitted jointly across outcomes (e.g., lnm_model()), a single model object of that class.
exper <- demo_joy() |>
mediation_data("PHQ", "treatment", starts_with("ASV"))
multimedia(exper) |>
outcome_model()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.