R/MethComp-package.R
milk.RdFat content of human milk determined by measurement of glycerol released by enzymic hydrolysis of triglycerides (Trig) and measurement by the Standard Gerber method (Gerber). Units are (g/100 ml).
A data frame with 90 observations on the following 3 variables.
metha factor with levels Gerber
Trig
itemsample id
ya numeric vector
The dataset is adapted from table 3 in: JM Bland and DG Altman: Measuring agreement in method comparison studies. Statistical Methods in Medical Research, 8:136-160, 1999. See: Lucas A, Hudson GJ, Simpson P, Cole TJ, Baker BA. An automated enzymic micromethod for the measurement of fat in human milk. Journal of Dairy Research 1987; 54: 487-92.
data(milk)
str(milk)
#> 'data.frame': 90 obs. of 3 variables:
#> $ meth: Factor w/ 2 levels "Gerber","Trig": 2 2 2 2 2 2 2 2 2 2 ...
#> $ item: int 1 2 3 4 5 6 7 8 9 10 ...
#> $ y : num 0.96 1.16 0.97 1.01 1.25 1.22 1.46 1.66 1.75 1.72 ...
milk <- Meth(milk)
#> The following variables from the dataframe
#> "milk" are used as the Meth variables:
#> meth: meth
#> item: item
#> y: y
#> #Replicates
#> Method 1 #Items #Obs: 90 Values: min med max
#> Gerber 45 45 45 0.85 2.67 6.20
#> Trig 45 45 45 0.96 2.67 6.21
plot(milk)
abline(0,1)