Calculate a distance matrix for a numeric matrix, using the textDist
function. It is used to calculate the text distance between all combinations
of the columns of the matrix M.
Usage
textDistMatrix(M, zeroes = 0.5)
Value
The text distance matrix with the text distance between all
combinations of the columns of M. This will give the same result as
the function distMatrix when run with its default distance function
"textDist"; however, for large matrices textDistMatrix is much more
efficient. In addition, for very large matrices distMatrix may not run,
while textDistMatrix will.
Arguments
M
A numeric matrix
zeroes
Text distance when both vectors are zero vectors; default is .5