Calculate a distance matrix for a numeric matrix, where a distance function
is used to calculate the distance between all combinations of the columns
of the matrix M.
Usage
distMatrix(M, fn = "textDist", ...)
Value
The distance matrix with the distance between all combinations
of the columns of M according to the distance function in fn.
Arguments
M
A numeric matrix
fn
The name of a distance function, default is "textDist".
...
Additional arguments to be passed to the distance function