Tools for Distance Metrics

Provides tools for constructing, manipulating and using distance metrics.


distances

CRAN Status

The distances package provides tools for constructing, manipulating and using distance metrics in R. It calculates distances only as needed (unlike the standard dist function which derives the complete distance matrix when called). This saves memory and can increase speed. The package also includes functions for fast nearest and farthest neighbor searching.

How to install

distances is on CRAN and can be installed by running:

install.packages("distances")

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("distances")

0.1.13 by Fredrik Savje, a year ago


https://github.com/fsavje/distances


Report a bug at https://github.com/fsavje/distances/issues


Browse source code at https://github.com/cran/distances


Authors: Fredrik Savje [aut, cre]


Documentation:   PDF Manual  


GPL (>= 3) license


Imports stats

Suggests testthat


Imported by GeomArchetypal, SpatialBSS, colorrepel, manydist.

Depended on by quickblock, quickmatch, scclust.


See at CRAN