Learn R Programming

mousetrap (version 1.2.0)

mt_variable_labels: Labels for mousetrap variables.

Description

A named character vector specifying the names of the variables that mousetrap uses for labeling the mouse-tracking variables. The default values are xpos for x-positions, ypos for y-positions, timestamps for timestamps, dist for distance traveled, vel for velocity, and acc for acceleration. Besides, xpos_ideal for x-positions and ypos_ideal for y-positions of an idealized trajectory, and dev_ideal for deviations of the actual trajectory from the idealized trajectory. These labels will be used for labeling the respective dimensions in the trajectory array (see mt_example). Please note that it is currently not possible to change the default labels.

Usage

mt_variable_labels

Arguments

Format

An object of class character of length 9.

Examples

Run this code
# the default values
mt_variable_labels <- c(
    timestamps="timestamps",
    xpos="xpos",ypos="ypos",
    dist="dist",vel="vel",acc="acc",
    xpos_ideal="xpos_ideal",
    ypos_ideal="ypos_ideal",
    dev_ideal="dev_ideal")

Run the code above in your browser using DataLab