cereals: Cereals datset

Description Usage Format Source References Examples

Description

Data with several variables of different brands of cereal

Usage

1

Format

A data frame with 77 observations on the following 15 variables.

mfr

Manufacturer of cereal

type

type: cold or hot

calories

calories per serving

protein

grams of protein

fat

grams of fat

sodium

milligrams of sodium

fiber

grams of dietary fiber

carbo

grams of complex carbohydrates

sugars

grams of sugars

potass

milligrams of potassium

vitamins

vitamins and minerals - 0, 25, or 100, indicating the typical percentage of FDA recommended

shelf

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

weight

weight in ounces of one serving

cups

number of cups in one serving

rating

a rating of the cereals

Source

http://lib.stat.cmu.edu/DASL/Datafiles/Cereals.html

References

http://lib.stat.cmu.edu/DASL/Stories/HealthyBreakfast.html

Examples

1
2
3
4
5
# load data
data(cereals)

# take a peek
head(cereals)

Example output

                          mfr type calories protein fat sodium fiber carbo
100%_Bran                   N    C       70       4   1    130  10.0   5.0
100%_Natural_Bran           Q    C      120       3   5     15   2.0   8.0
All-Bran                    K    C       70       4   1    260   9.0   7.0
All-Bran_with_Extra_Fiber   K    C       50       4   0    140  14.0   8.0
Almond_Delight              R    C      110       2   2    200   1.0  14.0
Apple_Cinnamon_Cheerios     G    C      110       2   2    180   1.5  10.5
                          sugars potass vitamins shelf weight cups   rating
100%_Bran                      6    280       25     3      1 0.33 68.40297
100%_Natural_Bran              8    135        0     3      1 1.00 33.98368
All-Bran                       5    320       25     3      1 0.33 59.42551
All-Bran_with_Extra_Fiber      0    330       25     3      1 0.50 93.70491
Almond_Delight                 8     -1       25     3      1 0.75 34.38484
Apple_Cinnamon_Cheerios       10     70       25     1      1 0.75 29.50954

plspm documentation built on May 2, 2019, 7:05 a.m.