Helper function to generate code to run an experiment
design_experiment(
levels_A = c(0, 1 * 2^(-4:2)),
levels_B = c(0, 2 * 2^(-4:2)),
par = c(beta_A = 1, beta_B = 2, gamma_A = 0.5, gamma_B = 0.5, tau_1 = 3, tau_2 = 0.05),
n_rep = 1,
n_sims = 100,
noise_par = c(a0 = 3, a1 = 0.01)
)
levels of A used in the combination
levels of B used in the combination
named vector of model parameters
number of total repetitions of experiment
number of simulations to run
named vector with 'a0' and 'a1' which are used to generate noise for the GIA.
prints out code to copy and paste into R
to simulate the expected coverage of your experiment under your designed hypothesis