Nagelkerke's R-square calculation for logistic regression / glm models

rsq_nagel(fitobj)

Arguments

fitobj

a logistic regression model object of "glm"

Value

The value for the explained variance.

Author

Martijn Heymans, 2020