outcome_models: Accessor for Outcome Models

View source: R/estimators.R

outcome_modelsR Documentation

Accessor for Outcome Models

Description

Accessor for Outcome Models

Usage

outcome_models(object)

Arguments

object

An object of class multimedia whose outcome model estimates we would like to extract.

Value

A list containing all the fitted outcome models.

Examples

data(mindfulness)
exper <- mediation_data(
    mindfulness,
    phyloseq::taxa_names(mindfulness),
    "treatment",
    starts_with("mediator"),
    "subject"
)

m <- multimedia(exper)
outcome_models(m)

multimedia documentation built on Sept. 30, 2024, 9:28 a.m.