foodnames {GDAdata} | R Documentation |
Nutritional value of different foods based on standard serving sizes.
data(foodnames)
A data frame with 961 observations on the following 9 variables.
Name
name of food (not unique)
Measure
serving description
Fat.grams
grams of fat in a standard serving
Food.energy.calories
calories per serving
Carbohydrates.grams
grams of carbohydrates per serving
Protein.grams
grams of protein per serving
Cholesterol.mg
cholesterol in mg per serving
weight.grams
weight in grams of a standard serving
Saturated.fat.grams
grams of saturated fat per serving
The data are used in A. Izenman (2008), Modern Multivariate Statistical Techniques, Springer
and are available on the accompanying website
http://astro.temple.edu/~alan/MMST/
data(foodnames, package="GDAdata")
summary(foodnames)
library(ggplot2)
ggplot(foodnames, aes(Fat.grams, Saturated.fat.grams)) + geom_point()