Learn R Programming

prospectr (version 0.1.3)

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)

Arguments

X
a matrix
Y
a matrix
method
a string with possible values "euclid", "cor", "cosine"

Value

a distance matrix