Ids                package:fUtilities                R Documentation

_S_e_t _a_n_d _R_e_t_r_i_e_v_e _C_o_l_u_m_n/_R_o_w _N_a_m_e_s

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

     Sets and retrieves column and row names. The functions are for
     compatibility with SPlus.

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

     colIds(x, ...)
     rowIds(x, ...)

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

       x: a numeric matrix. 

     ...: arguments to be passed. 

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

     Usualli in R the functions 'colnames', and 'rownames' are  used to
     retrieve and set the names of matrices. The functions  'rowIds'
     and 'colIds', are S-Plus like synonyms.

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

     ## pascal -
        # Create Pascal Matrix:
        P = pascal(3)
        P
      
     ## rownames -  
        rownames(P) <- letters[1:3]
        P   
        
     ## colIds<- -  
        colIds(P) <- as.character(1:3)
        P                            

