Regularize a near-regular trajectory

regularize(df, dt, units = "min", ref = NULL)

Arguments

df

a dataframe containing columns x, y, date representing relocations in space and time.

dt

the expected time lag between relocations

units

a character string indicating the time units for dt and tol

ref

a datetime from which to start the fixes. Default ref=NULL will calculate ref value by rounding the first timestamp in df

See also