cu_bout_det_mbc: Movement bout detection

View source: R/cu_bout_det_mbc.R

cu_bout_det_mbcR Documentation

Movement bout detection

Description

Creates a data table that indicates the times of different bouts of movement. This method uses changes in the overall dispersion rate of the animal from the 'base' time to detect changes in overall movement from small scale local movement to large scale migration.

Usage

cu_bout_det_mbc(
  data,
  min_disp,
  migr_speed_cut = 1,
  min_bout_len = 3,
  Gmax = 3,
  grid_res = "day",
  base = "first"
)

Arguments

data

An sf data set of locations with times noted by the 'datetime' column

min_disp

The minimum dispersion rate to be considered a migration interval, e.g. 10 for a 10km dispersion minimum.

migr_speed_cut

The minimum speed to categorize a movement bout as "migratory" Defaults to 1 km/h.

min_bout_len

Minimum length for each bout, defaults to 3

Gmax

Maximum number of movement clusters, defaults to 3.

grid_res

The temporal resolution at which migrations are detected. e.g., "day" (default) implies migration start and end is detected on a daily resolution.

base

The location at which dispersion is measured. Can be one of "first" (first location), "last" (final location), or some other sf::sfc point location.

Author(s)

Devin S. Johnson


dsjohnson/crawlUtils documentation built on Sept. 13, 2024, 1:34 p.m.