powered by
Tries to find an order for matrix by different cluster methods.
matrix_order(x, is.cor = TRUE, cluster.method = "complete", ...)
a matrix-like object.
logical value (defaults to TRUE) indicating wheater x is a correlation matrix.
x
a character string with the name of agglomeration method.
extra params passing to hclust.
hclust
a list of hclust object.
Now it just supports for square matrix.
hclust.
# NOT RUN { m <- matrix(rnorm(25), nrow = 5) matrix_order(m) # }
Run the code above in your browser using DataLab