Number of Mediators in a Multimedia Object
Examples
exper <- demo_joy() |>
mediation_data("PHQ", "treatment", starts_with("ASV"))
multimedia(exper) |>
n_mediators()
#> [1] 5
Number of Mediators in a Multimedia Object
exper <- demo_joy() |>
mediation_data("PHQ", "treatment", starts_with("ASV"))
multimedia(exper) |>
n_mediators()
#> [1] 5