CARS2004 {PASWR2} | R Documentation |
Cars in the European Union (2004)
Description
The numbers of cars per 1000 inhabitants (cars
), the total number of known mortal accidents (deaths
), and the country population/1000 (population
) for the 25 member countries of the European Union for the year 2004
Usage
CARS2004
Format
A data frame with 25 observations on the following 4 variables:
-
country
(a factor with levelsAustria
,Belgium
,Cyprus
,Czech Republic
,Denmark
,Estonia
,Finland
,France
,Germany
,Greece
,Hungary
,Ireland
,Italy
,Latvia
,Lithuania
,Luxembourg
,Malta
,Netherlands
,Poland
,Portugal
,Slovakia
,Slovenia
,Spain
,Sweden
, andUnited Kingdom
) -
cars
(number of cars per 1000 inhabitants) -
deaths
(total number of known mortal accidents) -
population
(country population/1000)
References
Ugarte, M. D., Militino, A. F., and Arnholt, A. T. 2015. Probability and Statistics with R, Second Edition. Chapman & Hall / CRC.
Examples
plot(deaths ~ cars, data = CARS2004)
ggplot(data = CARS2004, aes(x = population, y = deaths, color = cars)) + geom_point()