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