An emc or emc.prior object from which to generate predictives
data
A data frame needed to exactly match the original design
n_post
Integer. Number of generated datasets
n_cores
Integer. Number of cores across which there should be parallellized
n_trials
An integer. If data isn't provided (although preferred),
can generate data based on n_trials per cell of design
...
Optional additional arguments passed to get_pars or make_data
hyper
Boolean. Defaults to FALSE. If TRUE, simulates from the group-level (hyper)
parameters instead of the subject-level parameters.
stat
Character. Can be mean, median or random (i.e., the default).
Will take either random samples from the chain(s) or use the mean or median of the parameter estimates.