glm_pseudor2: glm_pseudoR2

View source: R/ztils.R

glm_pseudor2R Documentation

glm_pseudoR2

Description

A function for calculating the pseudo R^2 of a glm object

Usage

glm_pseudor2(mod)

Arguments

mod

The model for which to calculate the pseudo R^2

Value

The pseudo R^2 value of the model

Examples

gmod <- glm(Sepal.Length ~ Petal.Length + Species, data = iris)
glm_pseudor2(gmod)

ztils documentation built on April 11, 2025, 5:52 p.m.