listLen               package:Biobase               R Documentation

_L_e_n_g_t_h_s _o_f _l_i_s_t _e_l_e_m_e_n_t_s

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

     This function returns an integer vector with the length of the
     elements of its argument, which is expected to be a list.

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

     listLen(x)

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

       x: A list

_D_e_t_a_i_l_s:

     This function returns a vector of the same length as the list 'x'
     containing the lengths of each element.

     The current implementation is intended for lists containing
     vectors and the C-level length function is used to determine
     lenght.  This means no dispatch is done for the elements of the
     list.  If your list contains S4 objects, you should use 'sapply(x,
     length)' instead.

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

     Jeff Gentry and R. Gentleman

_S_e_e _A_l_s_o:

     'sapply'

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

       foo = lapply(1:8, rnorm)
       listLen(foo)

