R/drop_stick.R
drop_stick.Rd
Function to remove particles that remain at the same location for more than n_time consecutive timesteps.
n_time
drop_stick(input, n_time = 100, saveoutput = NULL)
input sf object containing particle tracks with time and id columns
sf
number of consecutive identical positions to consider as "stuck" (default: 100)
optional file path to export the filtered dataset as GeoJSON