Cavalry: Deaths from Horse Kicks

Description Usage Format Source Examples

Description

Numbers of deaths resulting from horse kicks per regiment-years for the Prussian army.

Usage

1

Format

A data frame with 5 observations on the following 2 variables.

deaths

a numeric vector

count

a numeric vector

Source

Bortkiewicz, L. 1898. Das Gesetz der Kleinen Zahlen (Teubner, Leipzig), as cited in Larson, R.J. and M.L. Marx. 1981. An Introduction to Mathematical Statistics and its Applications. Prentice-Hall: Englewood Cliffs, NJ.

Examples

1
2
3
4
data(Cavalry)
Cavalry
xyplot(count ~ deaths, Cavalry, type='h', lwd=4)
barchart(count ~ deaths, Cavalry, horizontal = FALSE, box.ratio = 1000)

Example output

sh: 1: cannot create /dev/null: Permission denied
Loading required package: nlme
Loading required package: lattice
Loading required package: grid
Loading required package: mosaic
sh: 1: cannot create /dev/null: Permission denied
Registered S3 method overwritten by 'mosaic':
  method                           from   
  fortify.SpatialPolygonsDataFrame ggplot2

The 'mosaic' package masks several functions from core packages in order to add 
additional features.  The original behavior of these functions should not be affected by this.

Attaching package:mosaicThe following objects are masked frompackage:dplyr:

    count, do, tally

The following object is masked frompackage:Matrix:

    mean

The following object is masked frompackage:ggplot2:

    stat

The following objects are masked frompackage:stats:

    binom.test, cor, cor.test, cov, fivenum, IQR, median, prop.test,
    quantile, sd, t.test, var

The following objects are masked frompackage:base:

    max, mean, min, prod, range, sample, sum

  deaths count
1      0   109
2      1    65
3      2    22
4      3     3
5      4     1

abd documentation built on May 2, 2019, 4:46 p.m.