Description Usage Arguments Details Value Examples
Perform linear path interpolation on a movement dataset.
1 | linear(xyt, t.slice)
|
xyt |
a 2x3 dataframe containing the coordinates and times of the two points to be interpolated between, often termed the anchor points. Each row of the dataframe should be arranged as x, y, t. |
t.slice |
a single time (POSIX or numeric), or list of times, to be interpolated for. The times must lie between those of the points in |
Linear interpolation is the simplest, and most commonly employed methods for path interpolation.
The function returns a dataframe (with nrow = length{t.slice}
) corresponding to the interpolated locations.
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.