powered by
Logistic regression model statistics, reported by logregC with fit.stats=TRUE argument, can be used for both weighted and unweighted logregC models.
logregR2(model, digits = 3)
Returns list of statistics about model (a "LogRegR2" class object)
An estimated logistic regression model (a glm or svyglm object)
Number of digits to be displayed after decimal points
library(RCPA3) # \donttest{ logit.model <- logregC(states$battleground2020 ~ states$vep16.turnout) logregR2(logit.model) # }
Run the code above in your browser using DataLab