distance: Matrix Distance

View source: R/utility.R

distanceR 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.


epca documentation built on July 26, 2023, 5:47 p.m.