Learn R Programming

fda.usc (version 1.1.0)

tecator: tecator data

Description

Water, Fat and Protein content of meat samples

Usage

data(tecator)

Arguments

format

The format is: ..$absorp.fdata: absorbance data. fdata class object with:
  • "data": Matrix of classfdatawith 215 curves (rows) discretized in 100 points or argvals (columns).
  • "argvals": 100 discretization points from 850 to 1050mm
  • "rangeval"=(850,1050): range("argvals")
  • "names"list with:mainan overall title "Tecator data set",xlabtitle forxaxis "Wavelength (mm)" andylabtitle foryaxis "Absorbances".
..$y: the percentages of Fat, Water and Protein. The three contents are determined by analytic chemistry.

source

http://lib.stat.cmu.edu/datasets/tecator

Details

absorp.fdata absorbance data for 215 samples. The first 129 were originally used as a training set endpoints the percentages of Fat, Water and Protein. for more details see tecator package

Examples

Run this code
data(tecator)
names(tecator)
names(tecator$absorp.fdata)
names(tecator$absorp.y)
names(tecator$y)
class(tecator$absorp.fdata)
class(tecator$y)
dim(tecator$absorp.fdata)
dim(tecator$y)

Run the code above in your browser using DataLab