The interfaces is fashioned after dist: you have to specify a
method to use, i.e. a (not so) mnemonic name. Methods that are also implemented in dist are:
minkowski, maximum, canberra, and binary.
See the documentation there. Note that for binary the
arguments x (and y) must be logical.
Additional methods implemented are:
[object Object],[object Object]
Missing values are allowed but are excluded from all computations
involving the rows within which they occur. However, rows (and columns)
of NAs are not dropped as in dist.
For compatibility the distance is zero instead of NA in the case
two (near) zero vectors are involved in the computation of binary,
ebinary, and angular. Note that this is inconsistent with
the coding of NA by as.dummy.