checkInactiveness: Find if a tag is standing still in an array

View source: R/check.R

checkInactivenessR Documentation

Find if a tag is standing still in an array

Description

Find if a tag is standing still in an array

Usage

checkInactiveness(
  movements,
  tag,
  detections,
  n,
  inactive.warning,
  inactive.error,
  dist.mat,
  GUI,
  save.tables.locally
)

Arguments

movements

The movements table for a specific tag.

tag

The tag being analysed.

detections

The detections data.frame for a specific tag.

n

A string indicating the overall progress.

inactive.warning

If a tag spends a number of days equal or greater than inactive.warning in a given array at the tail of the respective detections, a warning is issued. If left NULL (default), no warnings are issued. Must be equal to or lower than innactive.error.

inactive.error

If a tag spends a number of days equal or greater than inactive.error in a given array at the tail of the respective detections, user intervention is suggested. If left NULL (default), user intervention is never suggested.

dist.mat

A distances matrix.

GUI

One of "needed", "always" or "never". If "needed", a new window is opened to inspect the movements only if the movements table is too big to be displayed in R's console. If "always", a graphical interface is always created when the possibility to invalidate events emerges. If "never", a graphical interface is never invoked. In this case, if the table to be displayed does not fit in R's console, a temporary file will be saved and the user will be prompted to open and examine that file. Defaults to "needed".

save.tables.locally

Logical: If a table must be temporarily stored into a file for user inspection, should it be saved in the current working directory, or in R's temporary folder?

Value

A list of movements with updated 'Valid' columns


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