pdist
1.2.1Partitioned Distance Function
Overview
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.
Install
Health
- NOTE r-devel-linux-x86_64-debian-clang
- NOTE r-devel-linux-x86_64-debian-gcc
- NOTE r-devel-linux-x86_64-fedora-clang
- NOTE r-devel-linux-x86_64-fedora-gcc
- NOTE2026-03-1010 OK · 4 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Documentation
- Examples that run
- 100%
- Documented parameters
- 100%
- Return-value docs
- 0%
- References docs
- 0%
Downloads
Repository
Stars over time
Forks over time
Issues over time
PRs over time
Repository practices
Checks run against github.com/jeffwong/pdist on 2026-08-23.
No development-tooling practices detected in the upstream repository.
Dependencies
Code & Tests
People & History
Author records are not tracked yet for this package.
4 releases. Pick two to compare their code metrics. R releases are shown for context.
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- 1.2.1Latest
- RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- RR 4.0.0 released · 2020-04-24
- RR 3.6.0 released · 2019-04-26
- RR 3.5.0 released · 2018-04-23
- RR 3.4.0 released · 2017-04-21
- RR 3.3.0 released · 2016-05-03
- RR 3.2.0 released · 2015-04-16
- RR 3.1.0 released · 2014-04-10
- RR 3.0.0 released · 2013-04-03
- 1.22013-02-03 · diff ↗
Show 5 earlier events
- 1.12012-12-31 · diff ↗
- RR 2.15.0 released · 2012-03-30
- RR 2.14.0 released · 2011-10-31
- 1.02011-06-19
- RR 2.13.0 released · 2011-04-13
Package metadata
- First published
- 2011-06-19
- Total releases
- 4 / 15 yrs
- License
- GPL
- Download size
- 4.4 KB
- Installed size
- not tracked yet
- With dependencies
- not tracked yet
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("pdist")Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-08-26, which the citation names so these numbers can be found later. More on citing and the projects behind them.