R/extract_movement_functions.R
extract_at_distance.RdExtract at specific distance from a reference position, using any extract function
extract_at_distance(
movement_df,
extract_df,
ref_position,
ref_distance,
extract_function,
method = "mean",
...
)Movement df used to determine the distance
df to extract from
Reference position (position list or movement df)
Maximum distance in the same units as the movement df and reference position)
Extract function to use
How to summarise the results across occurrences: "mean", "sum", "table"
Additional arguments passed to the extract function