demo_joy | R Documentation |
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.
demo_joy(n_samples = 100, n_mediators = 5, n_pretreatment = 3)
n_samples |
How many random samples to generate? |
n_mediators |
How many random mediators to generate? |
n_pretreatment |
How many random pretreatment variables? |
SE The summarized experiment containing random data.
demo_joy()
demo_joy(n_samples = 2, n_mediators = 20)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.