Learn R Programming

SimilarityMeasures (version 1.4)

TranslationSubset: Calculate the Subset of Translations for LCSS

Description

A function for calculating the subsets of translations to be tested using the LCSS methods.

Usage

TranslationSubset(traj1, traj2, pointSpacing, pointDistance)

Arguments

traj1
A vector containing one dimension of trajectory1.
traj2
A vector containing one dimension of trajectory2.
pointSpacing
An integer value of the maximum index difference between trajectory1 and trajectory2 allowed in the calculation.
pointDistance
A floating point number representing the maximum distance in each dimension allowed for points to be considered equivalent.

Value

A vector of floating point numbers is returned containing the translations calculated. This vector is sorted in ascending order.

Details

This function is called by the LCSS method to calculate the translations required.

See Also

LCSS