powered by
This is an accessor returns the @mediators slot in a mediation_data object.
# S4 method for mediation_data mediators(object)
m A data.frame whose rows are samples and columns are values of mediators across those samples.
An object of class mediation_data.
exper <- demo_joy() |> mediation_data("PHQ", "treatment", starts_with("ASV")) mediators(exper)
Run the code above in your browser using DataLab