n_outcomes: Number of Outcomes in a Multimedia Object

View source: R/lookup.R

n_outcomesR Documentation

Number of Outcomes in a Multimedia Object

Description

Number of Outcomes in a Multimedia Object

Usage

n_outcomes(object)

Arguments

object

An object of class multimedia.

Value

An integer specifying the number of outcomes.

Examples

exper <- demo_joy() |>
    mediation_data("PHQ", "treatment", starts_with("ASV"))
multimedia(exper) |>
    n_outcomes()

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