distance.moved: Distance moved

Description Usage Arguments Details

View source: R/distance.moved.R

Description

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

Usage

1
distance.moved(dataset, last, time.window, epoch.length)

Arguments

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

Details

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.


dprocter/modeid documentation built on May 19, 2019, 8:21 a.m.