distance: Matrix Distance
Description
Matrix Distance
Usage
distance(x, y, method = "euclidean")
Value
numeric, the distance between two matrices.
Arguments
- x, y
matrix or Matrix, of the same number of rows. The columns of x and y will be scaled to unit length.
- method
distance measure, "maximum", "cosine", or "euclidean" are implemented.