Learn R Programming

amt (version 0.2.2.0)

flag_fast_steps: Flag Fast Steps

Description

Flags locations that imply SDR exceeding a threshold

Usage

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

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

Value

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

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.

Author

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

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.

See Also

flag_duplicates(), flag_roundtrips(), flag_defunct_clusters()