View source: R/stat.glmm.no.first.model.R
stat.glmm.no.first.model | R Documentation |
Performs Generalized Linear Mixed Models tests
stat.glmm.no.first.model( ant, formula, family, oda = NULL, progress = TRUE, odf, ... )
ant |
an output of ANT function |
formula |
two-sided linear formula object describing both the fixed-effects and random-effects part of the model, with the response on the left of a ~ operator and the terms, separated by + operators, on the right. Random-effects terms are distinguished by vertical bars (|) separating expressions for design matrices from grouping factors. Two vertical bars (||) can be used to specify multiple uncorrelated random effects for the same grouping variable. (Because of the way it is implemented, the ||-syntax works only for design matrices containing numeric (continuous) predictors; to fit models with independent categorical effects, see dummy or the lmer_alt function from the afex package.). |
family |
a GLM family, see |
oda |
the original data frame of associations when argument ant is obtained with perm.ds.grp or perm.ds.focal ANT functions. |
progress |
a boolean indicating the visualization of the permutation process. |
odf |
the original data frame |
... |
Extra arguments for |
GLMM with permutation data.
Returns a list of 3 elements :
An object of class merMod
(more specifically, an object of subclass lmerMod or glmerMod), for which many methods are available (e.g. methods(class="merMod")).
A data frame if the estimates of the permuted models.
A vector of integers indicating the permutations that returned model errors or warnings (e.g. model convergence issues) and for which new permutations were done.
Sebastian Sosa, Ivan Puga-Gonzalez.
lmer
or glmer
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.