View source: R/helper.functions.r
fit.svyglm | R Documentation |
Model fit statistics for a svyglm weighted linear regression model (not for weighted logistic regression).
fit.svyglm(svyglm, digits = 3)
svyglm |
An object of type svyglm. This object is the output of the svyglm function as well as regC function with w argument. |
digits |
Number of digits to report after decimal place, optional (default = 3). |
Returns a numeric vector of R-Squared and Adjusted R-sSquared statistics.
library(RCPA3)
ft.police.model <- regC(ft.police ~ race.ethnicity, w=wt, data=nes)
fit.svyglm(ft.police.model)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.