View source: R/randomized_sequence_from_matrix.R
randomized_sequence_from_matrix | R Documentation |
convert interaction matrix to sequence
randomized_sequence_from_matrix(mat, n_rand = 1)
mat |
square matrix |
n_rand |
number of randomized sequences to produce (default is |
a list with a matrix of winner ids and a matrix with loser ids
data(bonobos, package = "EloRating") bonobos[1:4, 1:4] randomized_sequence_from_matrix(bonobos[1:4, 1:4])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.