getStats | R Documentation |
Grabs P value, F statistic and difference between null and residual deviance from glm, lm, gam and bigglm objects.
getStats(GLM, y = NULL)
GLM |
glm object |
y |
dependent variable - used when inputting bigglm object. |
vector containing P value and F statistic from aov(GLM)
x <- rnorm(10)
y <- 2*x+rnorm(10)
GLM <- glm(y~x)
getStats(GLM)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.