Learn R Programming

SimilarityMeasures (version 1.4)

Trajectory Similarity Measures

Description

Functions to run and assist four different similarity measures. The similarity measures included are: longest common subsequence (LCSS), Frechet distance, edit distance and dynamic time warping (DTW). Each of these similarity measures can be calculated from two n-dimensional trajectories, both in matrix form.

Copy Link

Version

Install

install.packages('SimilarityMeasures')

Monthly Downloads

339

Version

1.4

License

GPL-3

Maintainer

Last Published

February 6th, 2015

Functions in SimilarityMeasures (1.4)

SimLoop

Loop Over and Test Trajectories With Different Translations
LCSSTranslation

Create a Translation Vector Using LCSS
FrechetCheck

Checks a Frechet Leash Distance
EditDist

Run the Edit Distance Algorithm on Two Trajectories
LCSSRatio

Find the LCSS Ratio using Two Trajectories Allowing Translations
LCSSRatioCalc

Find the LCSS Ratio using Two Trajectories Without Translations
LCSS

Run the LCSS Algorithm on Two Trajectories Allowing Translations
SimilarityMeasures-package

Implements Several Similarity Measures and Useful Functions
AveTranslate

Create an Average Point Translation Vector
LCSSCalc

Run the LCSS Algorithm on Two Trajectories Without Translations
Dot

Calculate the Dot Product Between Two Vectors
TranslationSubset

Calculate the Subset of Translations for LCSS
DistanceSq

Calculate the Square Distance Between Two Points
DistanceCheck

Check if Two Points Lie Within some Distance in All Dimensions
Frechet

Run the Frechet Calculation Algorithm on Two Trajectories
SinglePointCalc

Calculate Frechet Distance With a Single Point Trajectory
DTW

Run the Dynamic Time Warping Algorithm on Two Trajectories
TrajCheck

Checking Two Trajectories are Matrices of N Dimensional Points
StartEndTranslate

Translate a Trajectory Based on Start and End Points