Model of class glm

glm_5

Format

An object of class glm (inherits from lm) of length 30.

Examples

set.seed(123) mtcars$count <- rpois(nrow(mtcars), 2) glm(formula = count ~ wt + cyl, family = "poisson", data = mtcars)
#> #> Call: glm(formula = count ~ wt + cyl, family = "poisson", data = mtcars) #> #> Coefficients: #> (Intercept) wt cyl #> 0.93600 -0.01823 0.01027 #> #> Degrees of Freedom: 31 Total (i.e. Null); 29 Residual #> Null Deviance: 36.1 #> Residual Deviance: 36.09 AIC: 123.9