R Dataset / Package pscl / prussian

On this R-data statistics page, you will find information about the prussian data set which pertains to Prussian army horse kick data. The prussian data set is found in the pscl R package. You can load the prussian data set in R by issuing the following command at the console data("prussian"). This will load the data into a variable called prussian. If R says the prussian data set is not found, you can try installing the package by issuing this command install.packages("pscl") and then attempt to reload the data with the library() command. If you need to download R, you can go to the R project website. You can download a CSV (comma separated values) version of the prussian R data set. The size of this file is about 2,838 bytes.

Prussian army horse kick data

Description

Deaths by year, by corp, from horse kicks.

Usage

data(prussian)

Format

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

Source

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

Examples

data(prussian)
corpP <- glm(y ~ corp, family=poisson,data=prussian)
summary(corpP)

Dataset imported from https://www.r-project.org.

Attachments: csv, json

<iframe src="https://pmagunia.com/iframe/r-dataset-package-pscl-prussian.html" width="100%" height="100%" style="border:0px"></iframe>