primates                package:DAAG                R Documentation

_P_r_i_m_a_t_e _B_o_d_y _a_n_d _B_r_a_i_n _W_e_i_g_h_t_s

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

     A subset of 'Animals' data frame from the MASS library. It
     contains the average body and brain measurements of five primates.

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

     primates

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

     This data frame contains the following columns:

     _B_o_d_y_w_t a numeric vector consisting of the body weights (in kg)  of
          five different primates

     _B_r_a_i_n_w_t a numeric vector consisting of the corresponding brain
          weights (in g) 

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

     P. J. Rousseeuw  and A. M. Leroy (1987) Robust Regression and
     Outlier Detection. Wiley, p. 57.

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

     attach(primates)
     plot(x=Bodywt, y=Brainwt, pch=16,
            xlab="Body weight (kg)", ylab="Brain weight (g)",
            xlim=c(5,300), ylim=c(0,1500))
     chw <- par()$cxy[1]
     chh <- par()$cxy[2]
     text(x=Bodywt+chw, y=Brainwt+c(-.1,0,0,.1,0)*chh,
            labels=row.names(primates), adj=0)
     detach(primates)

