R/processing_movement_functions.R
resample_movement.Rd
Takes a movement data frame, removes value outside range (from, to), and resamples to new index, where 0 in the new index corresponds to "from". For use with 'summarise'.
resample_movement(df, new_time, from = 0, to = Inf)
A movement data frame. Expected column: 'time'
New time index, with respect to "from"
A numerical value of the starting time for resampling (default 0)
A numerical value of the end time for resampling (default inf, i.e. end of the data frame)
A resampled movement data frame