R Dataset / Package DAAG / grog

On this R-data statistics page, you will find information about the grog data set which pertains to Alcohol consumption in Australia and New Zealand. The grog data set is found in the DAAG R package. You can load the grog data set in R by issuing the following command at the console data("grog"). This will load the data into a variable called grog. If R says the grog data set is not found, you can try installing the package by issuing this command install.packages("DAAG") and then attempt to reload the data with the library() command. If you need to download R, you can go to the R project website. You can download a CSV (comma separated values) version of the grog R data set. The size of this file is about 944 bytes.

Alcohol consumption in Australia and New Zealand

Description

Data are annual apparent alcohol consumption in Australia and New Zealand, in liters of pure alcohol content per annum, separately for beer, wine, and spirits (including spirit-based products).

Usage

data(grog)

Format

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

Beer

liters per annum

Wine

liters per annum

Spirit

liters per annum

Country

a factor with levels Australia NewZealand

Year

Year ending in June of the given year

Details

Data are total available pure alcohol content, for the three categories, divided by numbers of persons aged 15 years or more. The source data for New Zealand included quarterly figures from December 1997, and annual data to December for all years. The annual New Zealand figure to June 1998 required an estimate for September 1997 that was obtained by extrapolating back the third quarter trend line from later years.

Source

Australian data are from http://www.abs.gov.au. For New Zealand data, go to http://www.stats.govt.nz/infoshare/ Click on 'Industry sectors' and then on 'Alcohol Available for Consumption - ALC'.

Examples

data(grog)
library(lattice)
xyplot(Beer+Wine+Spirit ~ Year | Country, data=grog)
xyplot(Beer+Wine+Spirit ~ Year, groups=Country, data=grog, outer=TRUE)

Dataset imported from https://www.r-project.org.

Attachments: csv, json

<iframe src="https://pmagunia.com/iframe/r-dataset-package-daag-grog.html" width="100%" height="100%" style="border:0px"></iframe>