R/blr-model-fit-stats.R
blr_rsq_count.Rd
Count r-squared.
blr_rsq_count(model)
An object of class glm.
glm
model <- glm(honcomp ~ female + read + science, data = hsb2, family = binomial(link = 'logit')) blr_rsq_count(model) #> [1] 0.81