Last chance! 50% off unlimited learning
Sale ends in
Given an input matrix (or stack thereof), rmperm
performs a (random) simultaneous row/column permutation of the input data.
rmperm(m)
The permuted matrix (or matrices)
a matrix, or stack thereof (or a graph set, for that matter).
Carter T. Butts buttsc@uci.edu
Random matrix permutations are the essence of the QAP test; see qaptest
for details.
rperm
#Generate an input matrix
g<-rgraph(5)
g #Examine it
#Examine a random permutation
rmperm(g)
Run the code above in your browser using DataLab