shift_to_next_alignment | R Documentation |
Calculate minimum right shift of first location vector to make any pair of locations from the two vectors equal
shift_to_next_alignment(x1, x2, distance_matrix_prev = NULL, shift_prev = NULL)
x1 |
First location vector. This vector is being shifted rightwards |
x2 |
Second location vector. This vector is remaining unchanged. |
Minimum non-zero right-shift to apply to x1 to align at least one element of x1 with at least one element of x2
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.