pdist: Partitioned Distance Function (original) (raw)
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.
| Version: | 1.2.1 |
|---|---|
| Depends: | methods |
| Published: | 2022-05-02 |
| DOI: | 10.32614/CRAN.package.pdist |
| Author: | Jeffrey Wong |
| Maintainer: | Jeffrey Wong <jeff.ct.wong at gmail.com> |
| License: | GPL-2 | GPL-3 [expanded from: GPL] |
| URL: | https://github.com/jeffwong/pdist |
| NeedsCompilation: | yes |
| Materials: | README |
| CRAN checks: | pdist results |
Documentation:
Downloads:
Reverse dependencies:
| Reverse depends: | JQL, partools |
|---|---|
| Reverse imports: | ahnr, bigdatadist, COMPASS, FastKNN, hmer, hopkins, hypervolume, msImpute, netcom, poem, rdi, seqgendiff, shattering, SparseVFC, SRTsim, SSNbler, statTarget, survClust, toweranNA, Umatrix |
| Reverse suggests: | AgePopDenom, VIM |
Linking:
Please use the canonical formhttps://CRAN.R-project.org/package=pdistto link to this page.