To evaluate the goodness of fit of the logistic regression model, calculating Nagelkerke's R squared from the result of glm(). The Nagelkerke's R squared means the power of explanation of the model.
Usage
NagelkerkeR2(rr)
Value
N
The number of observations in which the model were fitted.
R2
Nagelkerke's R squared.
Arguments
rr
The object with class "glm" and "lm", which would be generated by glm().