| sr.mem | R Documentation |
Implementation of SR-MEM: scale-reliant mixed effects models.
sr.mem(logW, formula, data, n.cores, method, mem.args)
logW |
a numeric array (N x D X S) where D is the number of taxa, N is the number of samples, and S is the number of posterior samples |
formula |
an lme4 formula with fixed and random effects for lmer |
data |
A data.frame with the random and fixed effects items in formula |
n.cores |
The number of cores for parallelization. If n.cores=1, no parallelization is used |
method |
The mem method to use: either nlme or lme4 |
mem.args |
Additional arguments including random or correlation |
A list of (P x D x S)-arrays with the fixed effect point estimates, the standard errors, degrees of freedom and the lower and upper p-values for each coefficient (P), of each model fit to each taxa (D) and each posterior sample (S) and a (Pr x D x S)-array with (Pr) random effects.
Kyle McGovern
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.