Generate data from each DGP in the Experiment.

Usage

generate_data(experiment, n_reps = 1, ...)

Arguments

experiment

An Experiment object.

n_reps

The number of datasets to generate per DGP.

...

Not used.

Value

A list of length equal to the number of DGPs in the Experiment. If the Experiment does not have a vary_across component, then each element in the list is a list of n_reps datasets generated by the given DGP. If the Experiment does have a vary_across component, then each element in the outermost list is a list of lists. The second layer of lists corresponds to a specific parameter setting within the vary_across scheme, and the innermost layer of lists is of length n_reps with the dataset replicates, generated by the DGP.