anova_glm: The function anova_glm() returns the Chi^2 and degrees of...

View source: R/raptools.R

anova_glmR Documentation

The function anova_glm() returns the Chi^2 and degrees of freedom for each variable & the same was anova.rms() does from lrm() in the rms package.

Description

The function anova_glm() returns the Chi^2 and degrees of freedom for each variable & the same was anova.rms() does from lrm() in the rms package.

Usage

anova_glm(f)

Arguments

f

A logistic regression fit created using glm (base package)

Value

A data frame with Chi-Square values and degrees of freedom for each variable in the model, plus a TOTAL row summarizing the overall model statistics.


raptools documentation built on Oct. 1, 2026, 5:12 p.m.