Learn R Programming

pscl (version 1.5.5)

prussian: Prussian army horse kick data

Description

Deaths by year, by corp, from horse kicks.

Usage

data(prussian)

Arguments

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

Examples

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

Run the code above in your browser using DataLab