The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.

Build Status

rdist

An R package to calculate distances. This provide a common framework to calculate distances.
There are three main functions: - rdist computes the pairwise distances between observations in one matrix and returns a dist object, - pdist computes the pairwise distances between observations in one matrix and returns a matrix, and - cdist computes the distances between observations in two matrices and returns a matrix.

All functions have an argument metric that can be used to specify the distance function. Available metrics are "euclidean", "minkowski", "manhattan", "maximum", "canberra", "angular", "correlation", "absolute_correlation", "hamming", and "jaccard". In addition the metric can be any function that takes two vectors as arguments and returns their distance. All predefined functions will return NA or NaN when one of the compared vectors contains NAs.

Installation

To install the latest released version from CRAN:

install.packages("rdist")

To install the latest development version from github:

install.packages("devtools")
devtools::install_github("blasern/rdist")

Development

If you find issues, please let me know. If you would like to contribute, please create a pull request.

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.