pnames            package:hyperdirichlet            R Documentation

_N_a_m_e_s _f_o_r _t_h_e _c_o_l_u_m_n_s

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

     Get and set column names

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

     pnames(x)
     pnames(x) <- value

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

       x: Object of class hyperdirichlet

   value: Names of the columns

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

     Function 'pnames()' returns a k-tuple of names and function
     'pnames<-()' returns a hyperdirichlet object.

_N_o_t_e:

     The default is to leave the columns unnamed; the print method puts
     them there for printing if null.

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

     Robin K. S. Hankin

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

     a <- dirichlet(1:3)
     pnames(a) <- letters[1:3]
     a

