Learn R Programming

Blossom (version 1.3)

neter365: Soap scrap as a function of production line speed (Neter et al. 1989)

Description

Soap scrap as a function of production line speed for two different production lines.

Usage

data(neter365)

Arguments

docType

data

source

Neter, J., W. Wasserman, and M.H. Kutner. 1989. Applied Linear Regression Models. Richard S. Irwin, Inc., Homewood, Illinois. pp. 365--369.

References

Cade, B.S., and J.D. Richards. 1996. Permutation tests for least absolute deviation regression. Biometrics 52, 886--902.

Examples

Run this code
plot(neter365$speed,neter365$soap,col = c("red","blue")[unclass(neter365$line.n)+1],
  pch = c(17,19)[unclass(neter365$line.n)+1],ylab = "Soap scrap",
  xlab = "Production speed")
  
legend(x = 280,y = 220,pch = c(17,19),legend = c("line 0", "line 1"),col = c("red","blue"))

Run the code above in your browser using DataLab