Learn R Programming

metagen (version 1.0)

setupExperiment: Running a computer experiment in batch mode

Description

Sets up a computer experiment evaluating the performance of different inference methods in the random effects meta regression model.

Usage

setupExperiment(name, seed, n, resolution, bounds, x, b, sgnf, piv_draws, ...)

Arguments

name
Reference name for the experiment.
seed
Random seed for the experiment.
n
number of simulations to at each parameter configuration.
resolution
list of number of parameter configurations in each design, e.g. resolution=list(h=5L, d=3L)
bounds
list of parameter bounds used for experimental design, e.g. bounds=list(h=c(0,1), d=c(0.001, 2), s=c(200L, 2000L)) where - h : bounds of the heterogeneity. - d : bounds of the heteroscedasticity. - a : bounds of the balancing factor of group assignments. - s : bounds of the study sizes. - r : fixed risk in the control.
x
design matrix.
b
regression coefficients.
sgnf
levels of significance.
piv_draws
number of pivotal draws.
...
further arguments to makeExperimentRegistry, e.g. file.dir=tempfile().

Value

The registry.