Skip to contents

Water, Fat and Protein content of meat samples

Format

The format is:
..$absorp.fdata: absorbance data. fdata class object with:

  • "data": Matrix of class fdata with 215 curves (rows) discretized in 100 points or argvals (columns).

  • "argvals": 100 discretization points from 850 to 1050nm

  • "rangeval"=(850,1050): range("argvals")

  • "names" list with: main an overall title "Tecator data set", xlab title for x axis "Wavelength (nm)" and ylab title for y axis "Absorbances".

..$y: the percentages of Fat, Water and Protein. The three contents are determined by analytic chemistry.

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

Author

Manuel Febrero-Bande and Manuel Oviedo de la Fuente manuel.oviedo@udc.es

Examples

data(tecator)
names(tecator)
#> [1] "absorp.fdata" "y"           
names(tecator$absorp.fdata)
#> [1] "data"     "argvals"  "rangeval" "names"   
names(tecator$y)
#> [1] "Fat"     "Water"   "Protein"
names(tecator$y)
#> [1] "Fat"     "Water"   "Protein"
class(tecator$absorp.fdata)
#> [1] "fdata"
class(tecator$y)
#> [1] "data.frame"
dim(tecator$absorp.fdata)
#> [1] 215 100
dim(tecator$y)
#> [1] 215   3