Bootstrapping for non-gaussian functions (internal use)
bootstrap_nongaussian(bootstr, R_pe, formula, data, Ysim, mod, grname,
grname_org, nboot, parallel, ncores, CI, rptObj, update)
bootstrap function. Re-assigns response simulated by simulate.merMod to data and estimates R with the R_pe function.
Function to estimate Repeatabilities and Variances for grouping factors, Residuals, Overdispersion and Fixed effects.
lme4 model formula
data.frame given as original input
data.frame with simulated response variables from simulate.merMod
fitted lme4 model
original grnames vector without Residual or Fixed
original grnames vector
number of bootstraps, equal to columns in Ysim
boolean
number of cores specified, defaults to NULL
confidence interval, defaults to 0.95