clearNames               package:stats               R Documentation

_R_e_m_o_v_e _t_h_e _N_a_m_e_s _f_r_o_m _a_n _O_b_j_e_c_t

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

     This function sets the 'names' attribute of 'object' to 'NULL' and
     returns the object.

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

     clearNames(object)

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

  object: an object that may have a 'names' attribute 

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

     An object similar to 'object' but without names.

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

     Douglas Bates and Saikat DebRoy

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

     'setNames'

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

     data( women )
     lapply( women, mean )               # has a names attribute
     clearNames( lapply( women, mean ) ) # removes the names

