Find if a fish is standing still in an array
checkInactiveness(
movements,
fish,
detections.list,
inactive.warning,
inactive.error,
dist.mat,
GUI
)
The movements table
The fish being analysed
A list of the detections split by each target tag,
created by splitDetections
.
If a fish spends a number of days equal or greater
than inactive.error
in a given array at the tail of the respective
detections, a warning is issued. If left NULL (default), no warnings are
issued.
If a fish 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.
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".
A list of movements with updated 'Valid' columns