Description Usage Arguments Value
This function takes a single trajectory and interpolates it into a set of points that are spaced by a given time step. If a maximum time lag is provided, the function will not interpolate segments between locations that are separated by more than the maximum lag.
1 | interpPath(path, time.step = 2, max.lag = NULL)
|
path |
a data.frame with the trajectory of a individual. It must
contain the |
time.step |
time interval into which interpolate the trajectory, in minutes. |
max.lag |
maximum time period, in hours, above which the trajectory between two locations will not be interpolated. |
a data.frame
with the resulting interpolated locations.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.