consumption {nutshell} | R Documentation |
This data frame contains infromation on the per-capita consumption of food in the United States, between 1980 and 2005. The data is taken from the Statistical Abstract of the Unites States.
This data set is used as an example in the book "R in a Nutshell" from O'Reilly Media.
data(consumption)
A data frame with 42 observations on the following 4 variables.
Food
Caloric sweeteners
, Dairy products
, Eggs
, Fish and Shellfist
, Flour and cereal products
, Poultry
, Red Meat
Units
Number
, Pounds
Year
Amount
This data set is used as an example in the book "R in a Nutshell" from O'Reilly Media.
http://www.census.gov/compendia/statab/cats/health_nutrition/food_consumption_and_nutrition.html
data(consumption) library(lattice) dotplot( Amount ~ Year | Food, data=consumption, aspect="xy", scales=list(relation="sliced", cex=.4) )