CRAN/E | parallelDist

parallelDist

Parallel Distance Matrix Computation using Multiple Threads

Installation

About

A fast parallelized alternative to R's native 'dist' function to calculate distance matrices for continuous, binary, and multi-dimensional input matrices, which supports a broad variety of 41 predefined distance functions from the 'stats', 'proxy' and 'dtw' R packages, as well as user- defined functions written in C++. For ease of use, the 'parDist' function extends the signature of the 'dist' function and uses the same parameter naming conventions as distance methods of existing R packages. The package is mainly implemented in C++ and leverages the 'RcppParallel' package to parallelize the distance computations with the help of the 'TinyThread' library. Furthermore, the 'Armadillo' linear algebra library is used for optimized matrix operations during distance calculations. The curiously recurring template pattern (CRTP) technique is applied to avoid virtual functions, which improves the Dynamic Time Warping calculations while the implementation stays flexible enough to support different DTW step patterns and normalization methods.

github.com/alexeckert/parallelDist
www.alexandereckert.com/projects/#r-packages
System requirements C++11
Bug report File report

Key Metrics

Version 0.2.6
R ≥ 3.0.2
Published 2022-02-03 813 days ago
Needs compilation? yes
License GPL-2
License GPL-3
CRAN checks parallelDist results

Downloads

Yesterday 83 0%
Last 7 days 397 -25%
Last 30 days 1.901 -7%
Last 90 days 5.453 -12%
Last 365 days 23.418 +19%

Maintainer

Maintainer

Alexander Eckert

info@alexandereckert.com

Authors

Alexander Eckert

aut / cre

Lucas Godoy

ctb

Srikanth KS

ctb

Material

README
NEWS
Reference manual
Package source

Vignettes

parallelDist vignette

macOS

r-release

arm64

r-oldrel

arm64

r-release

x86_64

r-oldrel

x86_64

Windows

r-devel

x86_64

r-release

x86_64

r-oldrel

x86_64

Old Sources

parallelDist archive

Depends

R ≥ 3.0.2

Imports

Rcpp ≥ 0.12.6
RcppParallel ≥ 4.3.20

Suggests

dtw
ggplot2
proxy
testthat
RcppArmadillo
RcppXPtrUtils

LinkingTo

Rcpp
RcppParallel
RcppArmadillo

Reverse Imports

biosensors.usc
dbcsp
ILoReg
ImpactEffectsize
infercnv
knnp
mina
MLGL
oppti

Reverse Suggests

AdaptGauss
DatabionicSwarm
DataVisualizations
diffudist
DistributionOptimization
FCPS
IncDTW
ProjectionBasedClustering