Package: disttools 0.1.8

Zachary Colburn

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.

Authors:Zachary Colburn [aut, cre], Madigan Army Medical Center - Department of Clinical Investigation [cph, fnd]

disttools_0.1.8.tar.gz
disttools_0.1.8.zip(r-4.5)disttools_0.1.8.zip(r-4.4)disttools_0.1.8.zip(r-4.3)
disttools_0.1.8.tgz(r-4.4-any)disttools_0.1.8.tgz(r-4.3-any)
disttools_0.1.8.tar.gz(r-4.5-noble)disttools_0.1.8.tar.gz(r-4.4-noble)
disttools_0.1.8.tgz(r-4.4-emscripten)disttools_0.1.8.tgz(r-4.3-emscripten)
disttools.pdf |disttools.html
disttools/json (API)
NEWS

# Install 'disttools' in R:
install.packages('disttools', repos = c('https://mamc-dci.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/mamc-dci/disttools/issues

On CRAN:

distance

1 exports 0.63 score 0 dependencies 4 scripts 227 downloads

Last updated 3 years agofrom:49820837af. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKSep 12 2024
R-4.5-winOKSep 12 2024
R-4.5-linuxOKSep 12 2024
R-4.4-winOKSep 12 2024
R-4.4-macOKSep 12 2024
R-4.3-winOKSep 12 2024
R-4.3-macOKSep 12 2024

Exports:get_dists

Dependencies:

disttools

Rendered fromdisttools.Rmdusingknitr::rmarkdownon Sep 12 2024.

Last update: 2019-02-15
Started: 2018-09-20