View source: R/helper.functions.r
logregR2 | R Documentation |
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)
model |
An estimated logistic regression model (a glm or svyglm object) |
digits |
Number of digits to be displayed after decimal points |
Returns list of statistics about model (a "LogRegR2" class object)
library(RCPA3)
logit.model <- logregC(states$battleground2020 ~ states$vep16.turnout)
logregR2(logit.model)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.