Description Usage Format Source Examples

Deaths by year, by corp, from horse kicks.

1 |

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

von Bortkiewicz, L. 1898. *Das Gesetz der Kleinen Zahlen.* Leipzig: Teubner.

1 2 3 |

```
Loading required package: MASS
Loading required package: lattice
Classes and Methods for R developed in the
Political Science Computational Laboratory
Department of Political Science
Stanford University
Simon Jackman
hurdle and zeroinfl functions by Achim Zeileis
Call:
glm(formula = y ~ corp, family = poisson, data = prussian)
Deviance Residuals:
Min 1Q Median 3Q Max
-1.5811 -1.0955 -0.8367 0.5438 2.0079
Coefficients:
Estimate Std. Error z value Pr(>|z|)
(Intercept) -2.231e-01 2.500e-01 -0.893 0.3721
corpI 4.072e-09 3.535e-01 0.000 1.0000
corpII -2.877e-01 3.819e-01 -0.753 0.4512
corpIII -2.877e-01 3.819e-01 -0.753 0.4512
corpIV -6.931e-01 4.330e-01 -1.601 0.1094
corpIX -2.076e-01 3.734e-01 -0.556 0.5781
corpV -3.747e-01 3.917e-01 -0.957 0.3387
corpVI 6.062e-02 3.483e-01 0.174 0.8618
corpVII -2.877e-01 3.819e-01 -0.753 0.4512
corpVIII -8.267e-01 4.532e-01 -1.824 0.0681 .
corpX -6.454e-02 3.594e-01 -0.180 0.8575
corpXI 4.463e-01 3.202e-01 1.394 0.1633
corpXIV 4.055e-01 3.227e-01 1.256 0.2090
corpXV -6.931e-01 4.330e-01 -1.601 0.1094
---
Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
(Dispersion parameter for poisson family taken to be 1)
Null deviance: 323.23 on 279 degrees of freedom
Residual deviance: 297.09 on 266 degrees of freedom
AIC: 630.17
Number of Fisher Scoring iterations: 5
```

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.