Other packages > Find by keyword >

disttools  

Distance Object Manipulation Tools
View on CRAN: Click here


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

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

Install by package version:
library("remotes")
install_version("disttools", "0.1.8")



Attach the package and use:
library("disttools")
Maintained by
Zachary Colburn
[Scholar Profile | Author Map]
All associated links for this package
First Published: 2019-03-04
Latest Update: 2022-02-05
Description:
Provides convenient methods for accessing the data in 'dist' objects with minimal memory and computational overhead. 'disttools' can be used to extract the distance between any pair or combination of points encoded by a 'dist' object using only the indices of those points. This is an improvement over existing functionality, which requires either coercing a 'dist' object into a matrix or calculating the one dimensional index corresponding to a pair of observations. Coercion to a matrix is undesirable because doing so doubles the amount of memory required for storage. In contrast, there is no inherent downside to the latter solution. However, in part due to several edge cases, correctly and efficiently implementing such a solution can be challenging. 'disttools' abstracts away these challenges and provides a simple interface to access the data in a 'dist' object using the latter approach.
How to cite:
Zachary Colburn (2019). disttools: Distance Object Manipulation Tools. R package version 0.1.8, https://cran.r-project.org/web/packages/disttools. Accessed 18 Sep. 2026.
Previous versions and publish date:
(2026-07-09 07:32), 0.1.7 (2019-03-04 18:40)
Other packages that cited disttools R package
View disttools citation profile
Other R packages that disttools depends, imports, suggests or enhances
Complete documentation for disttools
Functions, R codes and Examples using the disttools R package
Some associated functions: get_dists . 
Some associated R codes: get_dists.R .  Full disttools package functions and examples
Downloads during the last 30 days

Today's Hot Picks in Authors and Packages

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

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