Distance matrix to binary matrix based on threshold value

di2bi(distmat, emRad = NA, convMat = FALSE)

Arguments

distmat

Distance matrix

emRad

The radius or threshold value

convMat

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

Value

A (sparse) matrix with only 0s and 1s

See also

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

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