R2.vglm | R Documentation |
R^2
for vglm
objectsCalculate (pseudo) R^2
for vglm
objects
R2.vglm(
model,
method = c("mcfadden", "nagelkerke", "efron", "coxsnell", "tjur")
)
model |
a |
method |
method for calculation of |
R2.vglm
returns R^2
.
Mathijs Deen
if(require("VGAM")){
fit <- vglm(Species ~ Sepal.Length,
family = multinomial(),
data = iris)
R2.vglm(fit)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.