summarise_movement: Summarize Movement Rates and Times

View source: R/summarise_movement.R

summarise_movementR Documentation

Summarize Movement Rates and Times

Description

Summarise movement times and rates between sites. Currently, the function is only built to evaluate movement times/rates, spatially, but may be modified in the future to evaluate times/rates temporally as well.

Usage

summarise_movement(
  cap_hist_long = NULL,
  tags = NULL,
  which_obs = c("first_obs", "last_obs"),
  hr_max = NULL
)

Arguments

cap_hist_long

a data frame containing capture histories in long format. Typically, the ch_long object in the cap_hist_list returned from prep_capture_history.

tags

a vector of tag IDs that the user would like to extract data for

which_obs

the column in cap_hist_long containing the dates and times in POSIXct format the user would like to use to calculate movement times. The default is "first_obs", but also currently allows "last_obs".

hr_max

an optional argument to force the ylim of reach_hours_box_p. Warning: by setting hr_max to a value less than the range of the data, outlier values will be excluded from plotting.

Value

a list containing summaries of movement rates and times

Author(s)

Mike Ackerman and Kevin See


mackerman44/telemetyr documentation built on Feb. 15, 2025, 1:08 a.m.