Distance matrix to weighted matrix based on threshold value

di2we(distmat, emRad, theiler = 0, convMat = FALSE)

Arguments

distmat

Distance matrix

emRad

The radius or threshold value

theiler

Use a theiler window around the line of identity / synchronisation to remove high auto-correlation at short time-lags (default = 0)

convMat

convMat Should the matrix be converted from a distmat object of class Matrix::Matrix() to base::matrix() (or vice versa)

Value

A matrix with 0s and values < threshold distance value

See also

Other Distance matrix operations (recurrence plot): bandReplace(), di2bi(), di2ch(), dist_hamming(), rp_lineDist(), rp_nzdiags(), rp_plot(), rp_size(), rp()

Other Distance matrix operations (recurrence network): di2bi(), di2ch(), rn_phases(), rn_plot(), rn_recSpec(), rn()