distantia1.0.2 package

Assessing Dissimilarity Between Multivariate Time Series

autoSum

Computes sum of distances between consecutive samples in a multivariat...

distance

Computes a multivariate distance between two vectors.

distanceMatrix

Computes distance matrices among the samples of two or more multivaria...

distancePairedSamples

Computes distance among pairs of aligned samples in two or more multiv...

distantia-package

distantia: Assessing Dissimilarity Between Multivariate Time Series

formatPsi

Formats the output of psi.

handleNA

Handles emtpy and NA data in a multivariate time series.

leastCost

Extracts the least cost from a least-cost path.

leastCostMatrix

Computes a least cost matrix from a distance matrix.

leastCostPath

Find the least cost path in a least cost matrix.

leastCostPathNoBlocks

Extracts the least-cost from a least cost matrix by trimming blocks.

plotMatrix

Plots distance matrices and least cost paths.

prepareSequences

Prepare sequences for a comparison analysis.

psi

Computes sum of distances between consecutive samples in a multivariat...

workflowImportance

Computes the contribution to dissimilarity of each variable.

workflowImportanceHP

Computes the contribution to dissimilarity of each variable using work...

workflowNullPsi

Computes the dissimilarity measure psi on restricted permutations ...

workflowNullPsiHP

Computes the dissimilarity measure psi on restricted permutations ...

workflowPartialMatch

Finds the section in a long sequence that better matches a short seque...

workflowPsi

Computes the dissimilarity measure psi on two or more sequences.

workflowPsiHP

A refactored version of workflowPsi with a higher performance (hence...

workflowSlotting

Slots two sequences into a single composite sequence.

workflowTransfer

Transfers an attribute (time, age, depth) from one sequence to another

Provides tools to assess the dissimilarity between multivariate time-series. It is based on the psi measure described by Birks and Gordon (1985 <doi:10.1002/jqs.3390020110>), which computes dissimilarity between irregular time-series constrained by sample order. However, in this package the original idea has been extended to work with any kind of multivariate time-series, no matter whether they are regular, irregular, aligned or unaligned. Furthermore, the package allows to assess the significance of dissimilarity values by applying a restricted permutation test, allows to measure the contribution of individual variables to dissimilarity, and offers tools to transfer attributes (generally time or age, but other are possible) between sequences based on the similarity of their samples.