hilbert.projection {approxOT}R Documentation

Get order along the Hilbert curve

Description

Get order along the Hilbert curve

Usage

hilbert.projection(X, Sigma = NULL)

Arguments

X

matrix of values. Observations are unique by rows.

Sigma

Covariance of the data. If provided, uses a Mahalanobis distance.

Value

Index of orders

Examples

X <- matrix(rnorm(10*3), 3, 10)
idx <- hilbert.projection(X)
print(idx)

[Package approxOT version 1.1.1 Index]