actel (version 1.1.0)

checkJumpDistance: Check if fish are jumping over arrays

Description

Check if fish are jumping over arrays

Usage

checkJumpDistance(
  movements,
  fish,
  release,
  dotmat,
  jump.warning,
  jump.error,
  GUI
)

Arguments

movements

The movements table

fish

The fish being analysed

release

The release location of the fish

dotmat

The matrix of distances between arrays

jump.warning

If a fish crosses a number of arrays equal or greater than jump.error without being detected, a warning is issued. If left NULL (default), no warnings are issued.

jump.error

If a fish crosses a number of arrays equal or greater than jump.error without being detected, user intervention is suggested. If left NULL (default), user intervention is never suggested.

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".

Value

A list of movements with updated 'Valid' columns