Extract 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",
  ...
)

Arguments

movement_df

Movement df used to determine the distance

extract_df

df to extract from

ref_position

Reference position (position list or movement df)

ref_distance

Maximum distance in the same units as the movement df and reference position)

extract_function

Extract function to use

method

How to summarise the results across occurrences: "mean", "sum", "table"

...

Additional arguments passed to the extract function