TranslationSubset {SimilarityMeasures} | R Documentation |
A function for calculating the subsets of translations to be tested using the LCSS methods.
TranslationSubset(traj1, traj2, pointSpacing, pointDistance)
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. |
This function is called by the LCSS
method to calculate the translations required.
A vector of floating point numbers is returned containing the translations calculated. This vector is sorted in ascending order.
Kevin Toohey