SDS4 {PASWR2} | R Documentation |
M1 Motorspeedway Times
Description
The times recorded are those for 41 successive vehicles travelling northwards along the M1 motorway in England when passing a fixed point near Junction 13 in Bedfordshire on Saturday, March 23, 1985. After subtracting the times, the following 40 interarrival times reported to the nearest second are stored in SDS4
under the variable times
.
Usage
SDS4
Format
A data frame with 40 observations on the following variable:
-
times
(interarrival times to the nearest second)
Source
Hand, D. J., et. al. 1994. A Handbook of Small Data Sets. Chapman & Hall, London.
References
Ugarte, M. D., Militino, A. F., and Arnholt, A. T. 2015. Probability and Statistics with R, Second Edition. Chapman & Hall / CRC.
Examples
ggplot(data = SDS4, aes(x = times)) + geom_histogram(binwidth = 2)
ggplot(data = SDS4, aes(x = times, y = ..density..)) +
geom_histogram(binwidth = 2, color = "red", fill = "pink", alpha = 0.5) +
geom_density(fill = "cornsilk", alpha = 0.5) +
labs(x = "interarrival times to the nearest second", y = "")
[Package PASWR2 version 1.0.5 Index]