powered by
Find the ordering of the rows of X based on a hierarchical clustering of X for linkage ``linkage`` and distance ``dist``.
findOrder(X, dist = "euclidean", linkage = "complete")
The order of the rows of X based on a hierarchical clustering.
Matrix.
Distance used when defining a distance matrix of X.
Type of linkage used in the hierarchical clustering of X.
N <- 100 X <- matrix(c(rnorm(N, 0, 1), rnorm(N, 3, 1)), ncol = 2, byrow = TRUE) findOrder(X)
Run the code above in your browser using DataLab