sausage               package:SemiPar               R Documentation

_S_a_u_s_a_g_e _d_a_t_a

_D_e_s_c_r_i_p_t_i_o_n:

     The 'sausage' data frame has data on 54 `hot dog' sausages.

_U_s_a_g_e:

     data(sausage)

_F_o_r_m_a_t:

     This data frame contains the following columns:

     _t_y_p_e type of meat.

     _c_a_l_o_r_i_e_s number of calories.

     _s_o_d_i_u_m measure of sodium content.

_S_o_u_r_c_e:

     Moore, D.S. and McCabe, G.P. (2003). _Introduction to the Practice
     of Statistics, Fourth Edition_, W.H. Freeman and Company.

_R_e_f_e_r_e_n_c_e_s:

     Ruppert, D., Wand, M.P. and Carroll, R.J. (2003)
      _Semiparametric Regression_ Cambridge University Press.
      <URL: http://stat.tamu.edu/~carroll/semiregbook/>

_E_x_a_m_p_l_e_s:

     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))

