rmperm                  package:sna                  R Documentation

_R_a_n_d_o_m_l_y _P_e_r_m_u_t_e _t_h_e _R_o_w_s _a_n_d _C_o_l_u_m_n_s _o_f _a_n _I_n_p_u_t _M_a_t_r_i_x

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

     Given an input matrix (or stack thereof), `rmperm' performs a
     (random) simultaneous row/column permutation of the input data.

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

     rmperm(m)

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

       m: A matrix, or stack thereof 

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

     Random matrix permutations are the essence of the QAP test; see
     `qaptest' for details.

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

     The permuted matrix (or matrices)

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

     Carter T. Butts ctb@andrew.cmu.edu

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

     `rperm'

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

     #Generate an input matrix
     g<-rgraph(5)
     g             #Examine it

     #Examine a random permutation
     rmperm(g)

