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)

