R/simulate-residuals.R
simulate_residuals.Rd
Requires that new_expr includes `residual <- res_bern(` or `residual[i] <- res_norm(`.
simulate_residuals(x, type = NULL)
The MB analysis object.
A string of the residual type.
An mcmc_data of the simulated residuals.
extras::res_binom