powered by
Pseudo-R-squared for Logistic Models.
# S3 method for glm get_R2(fit, method = "nakagawa", ...)
A logistic model.
Can be "nakagawa" or "tjur".
Arguments passed to or from other methods.
# NOT RUN { library(psycho) fit <- glm(vs ~ wt, data = mtcars, family = "binomial") fit <- glm(Sex ~ Adjusting, data = psycho::affective, family = "binomial") get_R2(fit) # } # NOT RUN { # }
Run the code above in your browser using DataLab