Learn R Programming

prospectr (version 0.2.8)

fastDist: A fast distance algorithm for two matrices written in C++

Description

A fast distance algorithm for two matrices written in C++

Usage

fastDist(X,Y,method)

Value

a distance matrix

Arguments

X

a matrix

Y

a matrix

method

a string with possible values "euclid", "cor", "cosine"

Author

Antoine Stevens and Leonardo Ramirez-Lopez