Learn R Programming

mosaicData (version 0.17.0)

Alcohol: Alcohol Consumption per Capita

Description

These data provide per capita alcohol consumption values for many countries in 2005 and 2008. There are also a few countries for which there are data in other years.

Usage

data(Alcohol)

Arguments

Format

A data frame with 411 observations on the following variables.

  • country country name

  • year year

  • alcohol estimated per capita alcohol consumption for adults (15+) in litres pure alcohol

Examples

Run this code
# NOT RUN {
data(Alcohol)
# There are only a few observations in years other than 2005 and 2008
subset(Alcohol, ! year %in% c(2005,2008))
# }

Run the code above in your browser using DataLab