Description Usage Arguments Details Value Author(s) See Also

View source: R/similarityMeasures.R

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

1 | ```
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

SimilarityMeasures documentation built on May 29, 2017, 12:38 p.m.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.