function to be applied (and bootstrapped), default coef (gls) or fixef (lme)
R
number of bootstrap samples, default 999
psim
simulation level for vector of fixed parameters either for simulate_gls or simulate_lme
cores
number of cores to use for parallel computation
data
optional data argument (useful/needed when data are not in an available environment).
verbose
logical (default TRUE) whether to print a message if model does not converge.
...
additional arguments to be passed to function boot
Details
This function is inspired by Boot, which does not
seem to work with ‘gls’ or ‘lme’ objects. This function makes multiple copies
of the original data, so it can be very hungry in terms of memory use, but
I do not believe this to be a big problem given the models we typically fit.