demo_joy: A Demo Dataset (Random)

demo_joyR Documentation

A Demo Dataset (Random)

Description

This is a simple dataset with random data, used simply to illustrate the design of multimedia. There is no real association between any treatments, mediators, or outcomes. It always returns a single outcome (PHQ) SummarizedExperiment, and it randomly assigns samples to Treatment and Control (see the colData). It stores all the hypothetical mediator data in the assay slot.

Usage

demo_joy(n_samples = 100, n_mediators = 5, n_pretreatment = 3)

Arguments

n_samples

How many random samples to generate?

n_mediators

How many random mediators to generate?

n_pretreatment

How many random pretreatment variables?

Value

SE The summarized experiment containing random data.

Examples

demo_joy()

demo_joy(n_samples = 2, n_mediators = 20)

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