disttools: Distance Object Manipulation Tools

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.

Version: 0.1.8
Suggests: covr, testthat, knitr, rmarkdown
Published: 2022-02-05
Author: Zachary Colburn [aut, cre], Madigan Army Medical Center - Department of Clinical Investigation [cph, fnd]
Maintainer: Zachary Colburn <zcolburn at gmail.com>
License: MIT + file LICENSE
NeedsCompilation: no
Materials: README NEWS
CRAN checks: disttools results

Documentation:

Reference manual: disttools.pdf
Vignettes: disttools

Downloads:

Package source: disttools_0.1.8.tar.gz
Windows binaries: r-devel: disttools_0.1.8.zip, r-release: disttools_0.1.8.zip, r-oldrel: disttools_0.1.8.zip
macOS binaries: r-release (arm64): disttools_0.1.8.tgz, r-oldrel (arm64): disttools_0.1.8.tgz, r-release (x86_64): disttools_0.1.8.tgz
Old sources: disttools archive

Linking:

Please use the canonical form https://CRAN.R-project.org/package=disttools to link to this page.