lizards                 package:brlr                 R Documentation

_H_a_b_i_t_a_t _P_r_e_f_e_r_e_n_c_e_s _o_f _L_i_z_a_r_d_s

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

     The 'lizards' data frame has 23 rows and 6 columns. Variables
     'grahami' and 'opalinus' are counts of two lizard species at two
     different perch heights, two different perch diameters, in sun and
     in shade, at three times of day.

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

     data(lizards)

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

     This data frame contains the following columns:

     '_g_r_a_h_a_m_i' count of grahami lizards

     '_o_p_a_l_i_n_u_s' count of opalinus lizards

     '_h_e_i_g_h_t' a factor with levels '"<5ft"', '">=5ft"'

     '_d_i_a_m_e_t_e_r' a factor with levels '"<=2in"', '">2in"'

     '_l_i_g_h_t' a factor with levels '"sunny"', '"shady"'

     '_t_i_m_e' a factor with levels '"early"', '"midday"', '"late"'

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

     McCullagh, P. and Nelder, J. A. (1989) _Generalized Linear Models_
     (2nd Edition).  London: Chapman and Hall.

     Originally from

     Schoener, T. W. (1970)  Nonsynchronous spatial overlap of lizards
     in patchy habitats.  _Ecology_ *51*, 408-418.

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

     data(lizards)
     glm(cbind(grahami, opalinus) ~ height + diameter + light + time,
         family = binomial, data=lizards)

