Learn R Programming

resemble (version 2.2.3)

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

Description

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

Usage

fast_diss(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