assembleTimetable: Create the timetable

View source: R/migration.R

assembleTimetableR Documentation

Create the timetable

Description

Crawls trough the movement events of each tag to find when it entered and left each section of the study area.

Usage

assembleTimetable(
  secmoves,
  valid.moves,
  all.moves,
  spatial,
  arrays,
  bio,
  tz,
  dist.mat,
  speed.method,
  if.last.skip.section,
  success.arrays
)

Arguments

secmoves

the section-movements

valid.moves

the valid array movements

all.moves

all array movements

spatial

The spatial list.

arrays

A list containing information for each array.

bio

The biometrics table.

tz

The time zone of the study area. Must match one of the values present in timezones.

dist.mat

A matrix of the distances between the deployed ALS.

speed.method

Can take two forms: 'last to first' or 'last to last'. If 'last to first' (default), the last detection on the previous array is matched to the first detection on the target array to perform the calculations. If 'last to last', the last detection on ´the previous array is matched to the last detection on the target array to perform the calculations.

if.last.skip.section

Logical: Should a tag detected at the last array of a given section be considered to have disappeared in the next section?

success.arrays

The arrays that mark the end of the study area. If a tag crosses one of these arrays, the respective animal is considered to have successfully migrated through the study area.

Value

A data frame containing the entering and leaving timestamps for each section per target tag


actel documentation built on Oct. 19, 2023, 9:08 a.m.