order_gen | R Documentation |
Takes a matrix and generates a matrix containing all orderings of the rows and columns
order_gen(omega)
omega |
input p-dimensional square matrix |
a p \times p! matrix of dimension orderings. Each column represents an ordering of dimension names as character strings.
combinatSEset
reorder_mat
, network_to_SEset
data(riskcor) orderings <- order_gen(riskcor) # Each column of orderings defines an ordering of variables print(orderings[,1]) # in the second element, the fifth and sixth variable are switched print(orderings[,2])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.