pdist: Partitioned Distance Function

Computes the euclidean distance between rows of a matrix X and rows of another matrix Y. Previously, this could be done by binding the two matrices together and calling 'dist', but this creates unnecessary computation by computing the distances between a row of X and another row of X, and likewise for Y. pdist strictly computes distances across the two matrices, not within the same matrix, making computations significantly faster for certain use cases.

Author
Jeffrey Wong
Date of publication
2013-02-03 08:07:20
Maintainer
Jeffrey Wong <jeff.ct.wong@gmail.com>
License
GPL
Version
1.2
URLs

View on CRAN

Man pages

extract-methods
extract parts of pdist
pdist
Partitioned Distances
pdist-package
Distances between Observations for a Partitioned Matrix

Files in this package

pdist
pdist/MD5
pdist/man
pdist/man/extract-methods.Rd
pdist/man/pdist.Rd
pdist/man/pdist-package.Rd
pdist/DESCRIPTION
pdist/src
pdist/src/pdist.c
pdist/NAMESPACE
pdist/R
pdist/R/setup.R
pdist/R/pdist.R
pdist/README.md