anova: ANOVA Tables using the F distribution for glmmTMB models

Description Usage Arguments Details Value Note References Examples

View source: R/anova.R

Description

The anova function will perform an analysis of variance on glmmTMB objects using the F distribution. Denominator degrees of freedom calculations are performed using either the nlme, inner-outer, or containment methods.

Usage

1
2
3
4
5
6
7
anova(
  model,
  method = "containment",
  type = 3,
  test.statistic = "F",
  contr_sum = TRUE
)

Arguments

model

a glmmTMB model object

method

the method for computing the denominator degrees of freedom and F-statistics. method = nlme corresponds to inner-outer denominator degrees of freedom rules used by nlme. method = inner-outer primarily corresponds to classic nlme denominator degrees of freedom calculations but makes additional corrections for random slope models. containment corresponds to the SAS default degrees of freedom calculations for generalized linear mixed models. Default is inner-outer.

type

type of test, II, III, 2, 3. Roman numerals are equivalent to the corresponding Arabic numerals.

test.statistic

designates whether the F or Chisq distribution is used to compute the ANOVA tables.

contr_sum

a boolean indicating whether to apply 'sum to zero' contrasts when performing the ANOVA calculation. Default is TRUE.

Details

Insert details here later

Value

a data.frame

Note

Insert notes here later

References

Insert references here later

Examples

1
Insert examples here later

jprice80/glmmTMBbasicdfs documentation built on Jan. 1, 2021, 7:10 a.m.