names.onion              package:onion              R Documentation

_N_a_m_e_s _o_f _a_n _o_n_i_o_n_i_c _v_e_c_t_o_r

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

     Functions to get or set the names of an onionic vector.

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

     ## S3 method for class 'onion':
     names(x)
     ## S3 replacement method for class 'onion':
     names(x) <- value

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

       x: Onionic vector

   value: a character vector of  the same length as ''x'', or 'NULL'

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

     Names attributes refers to colnames of the internal matrix, which
     are retrieved or set using 'colnames()' or 'colnames<-()'.

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

     Robin K. S. Hankin

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

     a <- roct(5)
     names(a) <- letters[1:5]

