mediators | R Documentation |
This is a shorthand for accessing mediator-related slots in classes exported by the multimedia package.
mediators(object)
object |
An object whose mediators we want to access (either their names or values). |
The output will depend on the class of the object that is passed in. For multimedia objects, this returns a character vector of mediators. For mediation data objects, this returns the mediator mediator data.
exper <- demo_joy() |>
mediation_data("PHQ", "treatment", starts_with("ASV"))
mediators(exper)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.