Learn R Programming

VGAM (version 1.1-4)

V2: V2 Missile Hits in London

Description

A small count data set. During WWII V2 missiles were fired from the continent mainly towards London. The number of hits per square grid around London were recorded.

Usage

data(V2)

Arguments

Format

A data frame with the following variables.

hits

Values between 0 and 3.

ofreq

Observed frequency, i.e., the number of grids with that many hits.

Details

The data concerns 408 square grids each of 0.25 square kms about south London (south of the River Thames). They were picked in a rectangular region of 102 square kilometres where the density of hits were roughly uniformly distributed. The data is somewhat comparable to V1 albeit is a smaller data set.

See Also

V1, poissonff.

Examples

Run this code
# NOT RUN {
V2
mean(with(V2, rep(hits, times = ofreq)))
 var(with(V2, rep(hits, times = ofreq)))
 sum(with(V2, rep(hits, times = ofreq)))
# }
# NOT RUN {
 barplot(with(V2, ofreq),
          names.arg = as.character(with(V2, hits)),
          main = "London V2 rocket hits",
          col = "lightgreen", las = 1,
          ylab = "Frequency", xlab = "Hits") 
# }

Run the code above in your browser using DataLab