Learn R Programming

resemble (version 1.2.2)

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

Description

Computes distances between two data matrices using "euclid", "cor", "cosine"

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