pdist: Distance between vector and matrix
Description
This function computes and returns the minimum distance between a vector and
a matrix
Usage
pdist(point, set, method = "manhattan")
Arguments
method
String stating which distance measure to be used. This must be one of:
"euclidean" or "manhattan" (default).
Value
numeric value indicating the minimum distance between point
and set
.