data: Data frame from which names in formula can be taken
nsim: Number of repeats of the simulation (simreg)
nboot: Number of bootstrap resamples (bootreg)
Returns
Matrix of coefficients from repeated simulations, or from bootstrap resamples. For simreg there is one row for each repeat of the simulation. For bootreg there is one row for each resample.