Either a distance matrix or the value of a call to
pscore.dist, mahal.dist, or makedist.
preserve.unit.names
Logical. If true, for each matched set
matched.distances returns the submatrix of the distance
matrix corresponding to it; if false, a vector containing the
distances in that submatrix is returned.
Value
A list of numeric vectors (or matrices) of distances, one for each matched set.
Note that a matched set with 1 treatment and k controls, or with k
treatments and 1 control, has k, not k+1, distances.