logregR2: Logistic regression model fit statistics

View source: R/helper.functions.r

logregR2R Documentation

Logistic regression model fit statistics

Description

Logistic regression model statistics, reported by logregC with fit.stats=TRUE argument, can be used for both weighted and unweighted logregC models.

Usage

logregR2(model, digits = 3)

Arguments

model

An estimated logistic regression model (a glm or svyglm object)

digits

Number of digits to be displayed after decimal points

Value

Returns list of statistics about model (a "LogRegR2" class object)

Examples

   library(RCPA3)
   
   
   logit.model <- logregC(states$battleground2020 ~ states$vep16.turnout)
   logregR2(logit.model)
   

RCPA3 documentation built on May 29, 2024, 12:19 p.m.

Related to logregR2 in RCPA3...