LogRegR2 {descr}R Documentation

Pseudo R² of logistic regression

Description

The function calculates multiple R² analogues (pseudo R²) of logistic regression.

Usage

LogRegR2(model)

Arguments

model

A logistic regression model.

Details

The function calculates McFaddens R², Cox & Snell Index, and Nagelkerke Index of a logistic regression model.

Value

A object of class list with the calculated indexes.

Author(s)

Dirk Enzmann

Examples

# Suppose that "happy" is a factor and "income" is a numeric
# vector in a data frame:
## Not run: 
m <- glm(happy ~ income, family=binomial(link="logit"))
LogRegR2(m)

## End(Not run)

[Package descr version 0.9.7 Index]