Permutation function for non-gaussian functions (internal use)
permut_nongaussian(permut, R_pe, formula, data, dep_var, grname, npermut,
parallel, ncores, link, family, R, rptObj, update)
permutation function which permutes residuals and calculates R
Function to estimate Repeatabilities and Variances for grouping factors, Residuals, Overdispersion and Fixed effects.
lme4 model formula
data.frame given as original input
original response variable
original grnames vector without Residual or Fixed
number of permutations
boolean
number of cores specified, defaults to NULL
link function
respnse family (so far just binomial or poisson)
point estimate to concetenate with permutations