R/processing_movement_functions.R
resample_filter_pos.Rd
This is a convenience function to resample and filter an entire data frame. To be used with `extract_...` functions that extract movement features between time points. To avoid edge effects, the filtering is done on the entire data frame, rather than just on an interval of interest.
resample_filter_pos(df, new_time, span = 3)
Movement data frame
Resampling index
Median filter span (default 3)
Resampled data frame with filtered columns add as `new_pos_...` or `new_rot`