Other packages > Find by keyword >

pdist  

Partitioned Distance Function
View on CRAN: Click here


Download and install pdist package within the R console
Install from CRAN:
install.packages("pdist")

Install from Github:
library("remotes")
install_github("cran/pdist")

Install by package version:
library("remotes")
install_version("pdist", "1.2.1")



Attach the package and use:
library("pdist")
Maintained by
Jeffrey Wong
[Scholar Profile | Author Map]
All associated links for this package
First Published: 2011-06-19
Latest Update: 2022-05-02
Description:
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.
How to cite:
Jeffrey Wong (2011). pdist: Partitioned Distance Function. R package version 1.2.1, https://cran.r-project.org/web/packages/pdist. Accessed 18 Sep. 2026.
Previous versions and publish date:
(2026-07-09 06:40), 1.0 (2011-06-19 21:22), 1.1 (2012-12-31 19:54), 1.2 (2013-02-03 08:07)
Other packages that cited pdist R package
View pdist citation profile
Other R packages that pdist depends, imports, suggests or enhances
Complete documentation for pdist
Functions, R codes and Examples using the pdist R package
Some associated functions: extract-methods . pdist-package . pdist . 
Some associated R codes: pdist.R . setup.R .  Full pdist package functions and examples
Downloads during the last 30 days

Today's Hot Picks in Authors and Packages

downlit  
Syntax Highlighting and Automatic Linking
Syntax highlighting of R code, specifically designed for the needs of 'RMarkdown' packages like 'pk ...
Download / Learn more Package Citations See dependency  
data360r  
Wrapper for 'TCdata360' and 'Govdata360' API
Makes it easy to engage with the Application Program Interface (API) of the 'TCdata360' and 'Govdat ...
Download / Learn more Package Citations See dependency  
r2resize  
In-Text Resize for Images, Tables and Fancy Resize Containers in 'shiny', 'rmarkdown' and 'quarto' Documents
Automatic resizing toolbar for containers, images and tables. Various resizable or expandable contai ...
Download / Learn more Package Citations See dependency  
injectoR  
R Dependency Injection
R dependency injection framework. Dependency injection allows a program design to follow the depend ...
Download / Learn more Package Citations See dependency  
hmeasure  
The H-Measure and Other Scalar Classification Performance Metrics
Classification performance metrics that are derived from the ROC curve of a classifier. The package ...
Download / Learn more Package Citations See dependency  
eyelinker  
Import ASC Files from EyeLink Eye Trackers
Imports plain-text ASC data files from EyeLink eye trackers into (relatively) tidy data frames for ...
Download / Learn more Package Citations See dependency  

28,565

R Packages

239,283

Dependencies

75,677

Author Associations

28,566

Publication Badges

© Copyright since 2022. All right reserved, rpkg.net.  Based in Cambridge, Massachusetts, USA