| sausage {SemiPar} | R Documentation | 
Sausage data
Description
The sausage data frame has data on 54 ‘hot dog’
sausages.
Usage
data(sausage)Format
This data frame contains the following columns:
- type
- type of meat. 
- calories
- number of calories. 
- sodium
- measure of sodium content. 
Source
Moore, D.S. and McCabe, G.P. (2003). Introduction to the Practice of Statistics, Fourth Edition, W.H. Freeman and Company.
References
Ruppert, D., Wand, M.P. and Carroll, R.J. (2003)
Semiparametric Regression Cambridge University Press.
http://stat.tamu.edu/~carroll/semiregbook/
Examples
library(SemiPar)
data(sausage)
attach(sausage)
points.cols <- c("red","blue","green")
plot(sodium,calories,col=points.cols[type],pch=16)
legend(200,180,c("beef","pork","poultry"),col=points.cols,pch=rep(16,3))
[Package SemiPar version 1.0-4.2 Index]