tableInteraction: Handler for table interaction events

View source: R/user_interaction.R

tableInteractionR Documentation

Handler for table interaction events

Description

Handler for table interaction events

Usage

tableInteraction(
  moves,
  detections,
  tag,
  trigger,
  GUI,
  force = FALSE,
  save.tables.locally
)

Arguments

detections

The detections data.frame for a specific tag.

tag

The tag being analysed.

trigger

The message/warning that triggered the interaction

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

force

Logical: If TRUE, the user is moved directly to indicating which movements should be invalidated.

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 data frame with the updated movements table


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