head2                 package:popbio                 R Documentation

_R_e_t_u_r_n _t_h_e _f_i_r_s_t _a_n_d _l_a_s_t _p_a_r_t _o_f _a _m_a_t_r_i_x _o_r _d_a_t_a_f_r_a_m_e

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

     Returns the first and last rows using output from both 'head' and
     'tail' and separates the two parts with dots.  Useful for viewing
     ordered datasets such as longitudinal census data.

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

     head2(x, head = 3, tail = 1, dotrows = 1)

_A_r_g_u_m_e_n_t_s:

       x: A matrix or dataframe, usually ordered by  

    head: The number of first rows 

    tail: The number of last rows 

 dotrows: The number of rows of dots 

_V_a_l_u_e:

     An smaller object like 'x' with first and last rows only

_A_u_t_h_o_r(_s):

     Chris Stubben

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

     data(aq.trans)
     head2(aq.trans)

