Tidy random effect formula simulation
This function simulates the random portion of the model using a formula syntax.
simulate_randomeffect(data, sim_args, ...)
data
: Data simulated from other functions to pass to this function. Can pass NULL if first in simulation string.
sim_args
: A named list with special model formula syntax. See details and examples for more information. The named list may contain the following:
...
: Other arguments to pass to error simulation functions.