flag_fast_steps {amt}R Documentation

Flag Fast Steps

Description

Flags locations that imply SDR exceeding a threshold

Usage

flag_fast_steps(x, delta, time_unit = "secs", ...)

## S3 method for class 'track_xyt'
flag_fast_steps(x, delta, time_unit = "secs", ...)

Arguments

x

⁠[track_xyt]⁠ A track_xyt object.

delta

⁠[numeric]⁠ The threshold SDR over which steps are flagged. See details.

time_unit

⁠[character]⁠ Character string giving time unit. Should be "secs", "mins", or "hours". See details.

...

Addtional arguments. None currently implemented.

Details

Locations are flagged if the SDR from the previous location to the current location exceeds delta. Internally, flagged locations are dropped from future consideration.

The time_unit should be the same time unit with which the SDR threshold was calculated. SDR is typically calculated in m^2/s, so time_unit defaults to "secs". The spatial unit is determined by the CRS, which should typically be in meters.

Value

Returns x (a track_xyt) with a flagging column added (x$fast_step_).

Author(s)

Brian J. Smith, based on code by Johannes Signer and Tal Avgar

See Also

flag_duplicates(), flag_roundtrips(), flag_defunct_clusters()


[Package amt version 0.2.2.0 Index]