powered by
Deaths by year, by corp, from horse kicks.
data(prussian)
A data frame with 280 observations on the following 3 variables.
y
a numeric vector, count of deaths
year
a numeric vector, 18XX, year of observation
corp
a factor, corp of Prussian Army generating observation
factor
data(prussian) corpP <- glm(y ~ corp, family=poisson,data=prussian) summary(corpP)
Run the code above in your browser using DataLab