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:

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

