View source: R/hilbert.projection.R
hilbert.projection | R Documentation |
Get order along the Hilbert curve
hilbert.projection(X, Sigma = NULL)
X |
matrix of values. Observations are unique by rows. |
Sigma |
Covariance of the data. If provided, uses a Mahalanobis distance. |
Index of orders
X <- matrix(rnorm(10*3), 3, 10)
idx <- hilbert.projection(X)
print(idx)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.