stat.glmm.parallel {ANTs}R Documentation

Extracts statistical measures of interest in Generalized Linear Mixed Models in parallel

Description

Performs Generalized Linear Mixed Models tests in parallel

Usage

stat.glmm.parallel(
  ant,
  formula,
  family,
  oda = NULL,
  progress = FALSE,
  ncores = NULL,
  ...
)

Arguments

ant

an output of ANT function perm.net.nl with random factor stated, or output of ANT 'met' categories functions in which output of ANT functions perm.ds.focal, perm.ds.grp or perm.net.lk where multiple matrices have been used.

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 glm and family.

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.

ncores

an integer indicating the number of jobs to create for parallelization.

...

Extra arguments for lmer or glmer function only.

Details

GLMM with permutation data.

Value

Returns a list of 3 elements :

See Also

lmer or glmer


[Package ANTs version 0.0.16 Index]