Learn R Programming

plspm (version 0.5.1)

cereals: Cereals datset

Description

Data with several variables of different brands of cereal

Usage

data(cereals)

Arguments

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

Examples

Run this code
# load data
data(cereals)

# take a peek
head(cereals)

Run the code above in your browser using DataLab