Description Usage Arguments Details
View source: R/distance.moved.R
a function that measures distance moved between points separated by a time window
Currently only works with coordinates in easting and northing, can be modified as needed, contact author if this is required
1 | distance.moved(dataset, last, time.window, epoch.length)
|
dataset |
The dataset you want to apply this to, we assume it has been created by processing file using this package |
last |
whether you want the time window before (last=TRUE) or the following time window (last=FALSE) |
time.window |
The window across which to measure distance in seconds |
epoch.length |
The epoch.length you are working with, in seconds |
Given a dataset as input, this will output a variable of the same length as the datasets' variables. This will contain the distance of each point to the point the specified distance away.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.