Description Usage Arguments Value
View source: R/generate_toy_data.R
Simulates toy data: Toy data should have: Comparisons (difference btwn treatment and control): h1: Same S and N and both are drawn from the constraint h2: S and N change but both are drawn from the constraint h3: Same S and N but treatment is different from constraint h4: S and N change and treatment is different from constraint Draw from FS and see if METE gives same result And vice versa
1 2 | make_toy_data(constraint = "FS", nsamples = 50, ctrl_s = 10,
ctrl_n = 1000)
|
nsamples |
how many samples for each treatment/control pair? |
param |
constraint "METE" or "FS", whether to draw from METE or feasible set for constraint |
list of 4 long data frames with the above properties
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.