hilbert.projection: Get order along the Hilbert curve

View source: R/hilbert.projection.R

hilbert.projectionR 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)

approxOT documentation built on May 29, 2024, 3:12 a.m.