Skip to contents

S3 method that dispatches to get_anova(). Pass one or two survey_glm_fit objects; the single-model or pairwise path is chosen automatically.

Usage

# S3 method for class 'survey_glm_fit'
anova(object, ..., method = "LRT", test = "F", null = NULL)

Arguments

object

A survey_glm_fit object.

...

An optional second survey_glm_fit for pairwise comparison; anything else errors.

method

Character(1). "LRT" (default) or "Wald".

test

Character(1). "F" (default) or "Chisq".

null

Numeric or NULL. Hypothesized coefficient value (Wald only).

Value

A survey_anova tibble; see get_anova() for column details.