Generate datasets.

generate_datasets(generator, n_sims, n_datasets = NULL)

Arguments

generator

a generator object - build e.g. via SBC_generator_function or SBC_generator_brms.

n_sims

the number of simulated datasets to use

n_datasets

DEPRECATED, use n_sims instead.

Value

object of class SBC_datasets

TODO: seed