mat_hamming: Calculate Hamming distance

View source: R/matrixOps.R

mat_hammingR Documentation

Calculate Hamming distance

Description

Calculate Hamming distance

Usage

mat_hamming(X, Y = NULL, embedded = TRUE)

Arguments

X

A matrix (of coordinates)

Y

A matrix (of coordinates)

embedded

Do X and/or Y represent surrogate dimensions of an embedded time series?

Value

A hamming-distance matrix of X, or X and Y. Useful for ordered and unordered categorical data.

Author(s)

Fred Hasselman

See Also

Other Distance matrix operations (recurrence plot): bandReplace(), createCorridor(), mat_di2bi(), mat_di2ch(), mat_di2we(), rp(), rp_lineDist(), rp_nzdiags(), rp_plot(), rp_size()


FredHasselman/casnet documentation built on April 20, 2024, 3:05 p.m.