distance {epca}R Documentation

Matrix Distance

Description

Matrix Distance

Usage

distance(x, y, method = "euclidean")

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.

Value

numeric, the distance between two matrices.


[Package epca version 1.1.0 Index]