View source: R/r_squared_for_glm.R
adj_r_squared_for_glm | R Documentation |
Adjusted R squared for glm
adj_r_squared_for_glm(obj)
obj |
glm object |
Adjusted R squared for glm (numeric value)
set.seed(1) df <- data.frame(x = 1:100, eps = rnorm(n = 100)) df$y <- floor(exp(df$x + df$eps)) m <- glm(y ~ x, data = df, family = poisson()) adj_r_squared_for_glm(obj = m)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.