R Dataset / Package MASS / UScereal

On this R-data statistics page, you will find information about the UScereal data set which pertains to Nutritional and Marketing Information on US Cereals. The UScereal data set is found in the MASS R package. You can load the UScereal data set in R by issuing the following command at the console data("UScereal"). This will load the data into a variable called UScereal. If R says the UScereal data set is not found, you can try installing the package by issuing this command install.packages("MASS") 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 UScereal R data set. The size of this file is about 5,114 bytes.

Nutritional and Marketing Information on US Cereals

Description

The UScereal data frame has 65 rows and 11 columns. The data come from the 1993 ASA Statistical Graphics Exposition, and are taken from the mandatory F&DA food label. The data have been normalized here to a portion of one American cup.

Usage

UScereal

Format

This data frame contains the following columns:

mfr

Manufacturer, represented by its first initial: G=General Mills, K=Kelloggs, N=Nabisco, P=Post, Q=Quaker Oats, R=Ralston Purina.

calories

number of calories in one portion.

protein

grams of protein in one portion.

fat

grams of fat in one portion.

sodium

milligrams of sodium in one portion.

fibre

grams of dietary fibre in one portion.

carbo

grams of complex carbohydrates in one portion.

sugars

grams of sugars in one portion.

shelf

display shelf (1, 2, or 3, counting from the floor).

potassium

grams of potassium.

vitamins

vitamins and minerals (none, enriched, or 100%).

Source

The original data are available at http://lib.stat.cmu.edu/datasets/1993.expo/.

References

Venables, W. N. and Ripley, B. D. (1999) Modern Applied Statistics with S-PLUS. Third Edition. Springer.

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

Attachments: csv, json

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