Learn R Programming

cluster.datasets (version 1.0-1)

us.food.cost.nutrients.1959: Hartigan (1975) Cost and Nutrient Contribution for Selected Foods

Description

The table contains the cost and nutrient content, in percent daily allowance, of various foods reported in 1959. This is Table 8.5 in Cja[ter 8 of Hartigan (1975) on page 160.

Usage

data(us.food.cost.nutrients.1959)

Arguments

Format

A data frame with 10 observations on the following 8 variables.
food
a character vector for the food name
cost
a numeric vector for the cost of serving in U.S. cents
size
a character vector for for the portion size
protein
a numeric vector for % recommended daily allowance of protein
iron
a numeric vector for for % recommended daily allowance of iron
thiamine
a numeric vector for for % recommended daily allowance of thiamine
riboflavin
a numeric vector for for % recommended daily allowance of riboflavin
niacin
a numeric vector for for % recommended daily allowance of niacin

Source

Yearbook of Agriculture (1959). SPAETH2 Cluster Analysis Datasets http://people.sc.fsu.edu/~jburkardt/datasets/spaeth2/spaeth2.html

Details

The table is used to construst trees and distances as described in Hartigan (1975).

References

Hartigan, J. A. (1975). Clustering Algorithms, John Wiley, New York.

Examples

Run this code
data(us.food.cost.nutrients.1959)

Run the code above in your browser using DataLab