Learn R Programming

⚠️There's a newer version (3.2.3) of this package.Take me there.

mousetrap (version 1.0.0)

Process and Analyze Mouse-Tracking Data

Description

Mouse-tracking, the analysis of mouse movements in computerized experiments, is a method that is becoming increasingly popular in the cognitive sciences. The mousetrap package offers functions for importing, preprocessing, analyzing, aggregating, and visualizing mouse-tracking data.

Copy Link

Version

Install

install.packages('mousetrap')

Monthly Downloads

885

Version

1.0.0

License

GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Pascal J Kieslich

Last Published

March 19th, 2016

Functions in mousetrap (1.0.0)

mt_check_resolution

Check logging resolution by looking at timestamp differences.
mt_space_normalize

Space normalize trajectories.
mt_plot

Plot trajectory data.
mt_aggregate_per_subject

Aggregate mouse-tracking data per condition separately for each subject.
scale_within

Scale and center variables within the levels of another variable.
mt_subset

Filter mousetrap data.
mt_aggregate

Aggregate mouse-tracking data per condition.
mt_import_mousetrap

Import mouse-tracking data recorded using the mousetrap plug-ins in OpenSesame.
mt_resample

Resample trajectories using a constant time interval.
mt_plot_add_rect

Add rectangles to trajectory plot.
mt_calculate_derivatives

Calculate distance, velocity, and acceleration.
mt_standardize

Standardize mouse-tracking measures per level of other variables.
mt_movement_angle

Calculate initial movement angle.
mt_exclude_initiation

Exclude initial phase without mouse movement.
mt_example

A mousetrap data object.
mt_time_normalize

Time normalize trajectories.
mousetrap

mousetrap: Process and Analyze Mouse-Tracking Data
mt_import_wide

Import mouse-tracking data saved in wide format.
bimodality_coefficient

Calculate bimodality coefficient.
mt_plot_riverbed

Plot density of mouse positions across time steps.
mt_remap_symmetric

Remap mouse trajectories.
mt_import_long

Import mouse-tracking data saved in long format.
mt_calculate_measures

Calculate mouse-tracking measures.
mt_check_bimodality

Assess bimodality of mouse-tracking measure distributions.
mt_variable_labels

Labels for mousetrap variables.
mt_reshape

General-purpose reshape and aggregation function for mousetrap data.
mt_id

Trial identifier for mousetrap data.
mt_example_raw

Raw mouse-tracking dataset for demonstrations of the mousetrap package
mt_plot_per_trajectory

Create pdf with separate plots per trajectory.
read_mousetracker

Read data exported from MouseTracker.
mt_average

Average trajectories across intervals.
mt_sample_entropy

Calculate sample entropy.