Calculate Nagelkerke pseudo r-squared from a fitted model object.
Usage
nagelkerke(mod)
Value
Numeric value of Nagelkerke r-squared for the model
Arguments
mod
A glm model object, usually from logistic regression.
The model must have been fit using the data option, in order to
extract the data from the model object.