mediators,mediation_data-method | R Documentation |
This is an accessor returns the @mediators slot in a mediation_data object.
## S4 method for signature 'mediation_data'
mediators(object)
object |
An object of class mediation_data. |
m A data.frame whose rows are samples and columns are values of mediators across those samples.
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.