sausage: Sausage data

Description Usage Format Source References Examples

Description

The sausage data frame has data on 54 ‘hot dog’ sausages.

Usage

1

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

1
2
3
4
5
6
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))

Example output



SemiPar documentation built on May 2, 2019, 5:42 a.m.

Related to sausage in SemiPar...