Learn R Programming

liver (version 1.5)

cereal: Cereal data set

Description

This dataset contains nutrition information for \(77\) breakfast cereals and includes \(16\) variables. The "reating" column is our target as a rating of the cereals (Possibly from Consumer Reports?).

Usage

data( cereal )

Arguments

Format

The cereal dataset, as a data frame, contains \(77\) rows (breakfast cereals) and \(16\) columns (variables/features). The \(16\) variables are:

  • name: Name of cereal.

  • manuf: Manufacturer of cereal:

    • A: American Home Food Products;

    • G: General Mills;

    • K: Kelloggs;

    • N: Nabisco;

    • P: Post;

    • Q: Quaker Oats;

    • R: Ralston Purina;

  • 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 (Possibly from Consumer Reports?).

Details

These datasets have been gathered and cleaned up by Petra Isenberg, Pierre Dragicevic and Yvonne Jansen. The original source can be found: https://perso.telecom-paristech.fr/eagan/class/igr204/datasets

See Also

adult, risk, churn, churnTel, bank, advertising, marketing, insurance, housePrice, house

Examples

Run this code
# NOT RUN {
data( cereal )

str( cereal )
# }

Run the code above in your browser using DataLab