Calculate Hamming distance
dist_hamming(X, Y = NULL, embedded = TRUE)
X | A matrix (of coordinates) |
---|---|
Y | A matrix (of coordinates) |
embedded | Do X and/or Y represent surrogate dimensions of an embedded time series? |
A hamming-distance matrix of X, or X and Y. Useful for ordered and unordered categorical data.
Other Distance matrix operations (recurrence plot):
bandReplace()
,
di2bi()
,
di2ch()
,
di2we()
,
rp_lineDist()
,
rp_nzdiags()
,
rp_plot()
,
rp_size()
,
rp()
Fred Hasselman