Randomly Permute the Rows and Columns of an Input Matrix
Given an input matrix (or stack thereof), rmperm
performs a (random) simultaneous row/column permutation of the input data.
rmperm(m)
m |
a matrix, or stack thereof (or a graph set, for that matter). |
Random matrix permutations are the essence of the QAP test; see qaptest
for details.
The permuted matrix (or matrices)
Carter T. Butts buttsc@uci.edu
#Generate an input matrix g<-rgraph(5) g #Examine it #Examine a random permutation rmperm(g)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.