mousetrap: Process and Analyze Mouse-Tracking Data
Version 3.1.0

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.

AuthorPascal J. Kieslich [aut, cre], Dirk U. Wulff [aut], Felix Henninger [aut], Jonas M. B. Haslbeck [aut], Sarah Brockhaus [ctb]
Date of publication2017-05-20 07:11:34 UTC
MaintainerPascal J. Kieslich <kieslich@psychologie.uni-mannheim.de>
LicenseGPL-3
Version3.1.0
URL https://github.com/pascalkieslich/mousetrap
Package repositoryView on CRAN
InstallationInstall the latest version of this package by entering the following in R:
install.packages("mousetrap")

Getting started

README.md

Popular man pages

mt_aggregate: Aggregate mouse-tracking data per condition.
mt_cluster_k: Estimate optimal number of clusters.
mt_example_raw: Raw mouse-tracking dataset for demonstrations of the...
mt_measures: Calculate mouse-tracking measures.
mt_sample_entropy: Calculate sample entropy.
mt_time_normalize: Time normalize trajectories.
read_mt: Read MouseTracker raw data.
See all...

All man pages Function index File listing

Man pages

bezier: Create Bezier-curves using the Bernstein approximation.
bimodality_coefficient: Calculate bimodality coefficient.
KH2017: Mouse-tracking dataset from Kieslich & Henninger (in press)
KH2017_raw: Raw mouse-tracking dataset from Kieslich & Henninger (in...
mousetrap: Process and analyze mouse-tracking data
mt_add_trajectory: Add new trajectory to trajectory array.
mt_add_variables: Add new variables to trajectory array.
mt_aggregate: Aggregate mouse-tracking data per condition.
mt_aggregate_per_subject: Aggregate mouse-tracking data per condition separately for...
mt_align: Align trajectories.
mt_align_start: Align start position of trajectories.
mt_align_start_end: Align start and end position of trajectories.
mt_angles: Calculate movement angles.
mt_animate: Create gif trajectory animation.
mt_average: Average trajectories across intervals.
mt_bind: Join two trajectory arrays
mt_check_bimodality: Assess bimodality of mouse-tracking measure distributions.
mt_check_resolution: Check logging resolution by looking at timestamp differences.
mt_cluster: Cluster trajectories.
mt_cluster_k: Estimate optimal number of clusters.
mt_count: Count number of observations.
mt_derivatives: Calculate distance, velocity, and acceleration.
mt_deviations: Calculate deviations from idealized trajectory.
mt_diffmap: Creates a difference-heatmap of two trajectory heatmap...
mt_distmat: Compute distance matrix.
mt_example: A mousetrap data object.
mt_example_raw: Raw mouse-tracking dataset for demonstrations of the...
mt_exclude_initiation: Exclude initial phase without mouse movement.
mt_export_long: Export mouse-tracking data.
mt_heatmap: Plot trajectory heatmap.
mt_heatmap_ggplot: Plot trajectory heatmap using ggplot.
mt_heatmap_raw: Creates high-resolution heatmap of trajectory data.
mt_import_long: Import mouse-tracking data saved in long format.
mt_import_mousetrap: Import mouse-tracking data recorded using the mousetrap...
mt_import_wide: Import mouse-tracking data saved in wide format.
mt_map: Map trajectories to prototypes.
mt_measures: Calculate mouse-tracking measures.
mt_plot: Plot trajectory data.
mt_plot_add_rect: Add rectangles to trajectory plot.
mt_plot_per_trajectory: Create PDF with separate plots per trajectory.
mt_plot_riverbed: Plot density of mouse positions across time steps.
mt_prototypes: Mouse trajectory prototypes.
mt_qeffect: Create quantile-effect plot
mt_remap_symmetric: Remap mouse trajectories.
mt_resample: Resample trajectories using a constant time interval.
mt_reshape: General-purpose reshape and aggregation function for...
mt_sample_entropy: Calculate sample entropy.
mt_scale_trajectories: Standardize variables in mouse trajectory array.
mt_space_normalize: Space normalize trajectories.
mt_spatialize: Spatialize trajectories.
mt_standardize: Standardize mouse-tracking measures per level of other...
mt_subset: Filter mousetrap data.
mt_time_normalize: Time normalize trajectories.
print.mt_heatmap_raw: Generic print for class mt_heatmap_raw
read_mt: Read MouseTracker raw data.
reexports: Objects exported from other packages
scale_within: Scale and center variables within the levels of another...

Functions

KH2017 Man page
KH2017_raw Man page
\%>\% Man page
bezier Man page Source code
bimodality_coefficient Man page Source code
boxBlur Source code
cleanAngles Source code
cohen Source code
colormixer Source code
computeNorm Source code
count_changes Source code
create_results Source code
distMat Source code
distMat3d Source code
distMat3dV Source code
distMatV Source code
extract_data Source code
gaussBlur Source code
gaussBlurSlow Source code
getAngleP Source code
getAngleV Source code
getAnglesP Source code
getAnglesV Source code
getLength Source code
getLength3d Source code
getLengths Source code
getLengths3d Source code
getVelocities Source code
getVelocities3d Source code
getVelocity Source code
getVelocity3d Source code
getlast Source code
group Source code
is_mousetrap_data Source code
moments_mat Source code
mousetrap Man page
mousetrap-package Man page
mt_add_trajectory Man page Source code
mt_add_variables Man page Source code
mt_aggregate Man page Source code
mt_aggregate_per_subject Man page Source code
mt_align Man page Source code
mt_align_start Man page Source code
mt_align_start_end Man page Source code
mt_angles Man page Source code
mt_animate Man page Source code
mt_average Man page Source code
mt_bind Man page Source code
mt_check_bimodality Man page Source code
mt_check_resolution Man page Source code
mt_cluster Man page Source code
mt_cluster_k Man page Source code
mt_count Man page Source code
mt_derivatives Man page Source code
mt_deviations Man page Source code
mt_diffmap Man page Source code
mt_distmat Man page Source code
mt_example Man page
mt_example_raw Man page
mt_exclude_initiation Man page Source code
mt_export_long Man page Source code
mt_export_wide Man page Source code
mt_heatmap Man page Source code
mt_heatmap_ggplot Man page Source code
mt_heatmap_raw Man page Source code
mt_import_long Man page Source code
mt_import_mousetrap Man page Source code
mt_import_wide Man page Source code
mt_map Man page Source code
mt_measures Man page Source code
mt_plot Man page Source code
mt_plot_add_rect Man page Source code
mt_plot_aggregate Man page Source code
mt_plot_per_trajectory Man page Source code
mt_plot_riverbed Man page Source code
mt_prototypes Man page
mt_qeffect Man page Source code
mt_remap_symmetric Man page Source code
mt_resample Man page Source code
mt_reshape Man page Source code
mt_sample_entropy Man page Source code
mt_scale_trajectories Man page Source code
mt_space_normalize Man page Source code
mt_spatialize Man page Source code
mt_spatialize_tolong Source code
mt_standardize Man page Source code
mt_subset Man page Source code
mt_time_normalize Man page Source code
onAttach Source code
point_to_line Source code
points_on_ideal Source code
prepare_trajectories Source code
print.mt_heatmap_raw Man page Source code
read_mt Man page Source code
reexports Man page
round_even Source code
scale_mat Source code
scale_rows Source code
scale_within Man page Source code
sd_mat Source code
select_max Source code
spatialize Source code
spatialize3d Source code
spatialize4d Source code
spatializeArray Source code
spatializeArray3d Source code
spatializeArrayToLong Source code
spatializeArrayToLong3d Source code
spatializeArrayToLong4d Source code
subsample Source code
tab Source code
tab_mean Source code
tab_sum Source code
trajAlign Source code
trajAlign3d Source code
trans_mat Source code
trans_rows Source code
trnorm Source code

Files

src
src/cleanAngles.cpp
src/distMat.cpp
src/getAngles.cpp
src/getVelocities.cpp
src/mousetrap_init.c
src/getLength.cpp
src/standardize.cpp
src/getLast.cpp
src/spatialize.cpp
src/tab.cpp
src/gaussianBlurs.cpp
src/findMax.cpp
src/trajAlign.cpp
src/RcppExports.cpp
NAMESPACE
NEWS.md
data
data/mt_prototypes.rda
data/mt_example.rda
data/KH2017.rda
data/mt_example_raw.rda
data/datalist
data/KH2017_raw.rda
R
R/utils.R
R/read_mt.R
R/check.R
R/aggregate.R
R/preprocess.R
R/quantileeffect.R
R/cluster_k.R
R/distmat.R
R/map.R
R/data.R
R/align.R
R/deviations.R
R/import.R
R/standardize.R
R/animate.R
R/RcppExports.R
R/bezier.R
R/cluster.R
R/reshape.R
R/sample_entropy.R
R/angles.R
R/export.R
R/mousetrap.R
R/spatialize.R
R/startupmessage.R
R/heatmap.R
R/visualize.R
R/add.R
R/derivatives.R
R/measures.R
R/riverbed.R
R/bimodality.R
R/dynlib.R
README.md
MD5
DESCRIPTION
man
man/mt_subset.Rd
man/print.mt_heatmap_raw.Rd
man/mt_angles.Rd
man/mt_map.Rd
man/mt_export_long.Rd
man/mt_aggregate_per_subject.Rd
man/mt_import_long.Rd
man/mt_bind.Rd
man/mt_reshape.Rd
man/mt_scale_trajectories.Rd
man/mt_derivatives.Rd
man/mt_remap_symmetric.Rd
man/mt_plot_per_trajectory.Rd
man/mt_plot_add_rect.Rd
man/mousetrap.Rd
man/mt_example_raw.Rd
man/read_mt.Rd
man/mt_space_normalize.Rd
man/mt_heatmap_ggplot.Rd
man/mt_cluster_k.Rd
man/mt_cluster.Rd
man/KH2017.Rd
man/mt_time_normalize.Rd
man/mt_measures.Rd
man/scale_within.Rd
man/mt_align.Rd
man/mt_example.Rd
man/mt_deviations.Rd
man/mt_animate.Rd
man/mt_heatmap.Rd
man/mt_add_trajectory.Rd
man/KH2017_raw.Rd
man/mt_aggregate.Rd
man/mt_import_wide.Rd
man/mt_prototypes.Rd
man/mt_align_start.Rd
man/mt_plot.Rd
man/mt_qeffect.Rd
man/mt_distmat.Rd
man/reexports.Rd
man/mt_exclude_initiation.Rd
man/mt_check_resolution.Rd
man/mt_count.Rd
man/bezier.Rd
man/mt_align_start_end.Rd
man/mt_resample.Rd
man/mt_diffmap.Rd
man/mt_spatialize.Rd
man/mt_import_mousetrap.Rd
man/mt_add_variables.Rd
man/mt_check_bimodality.Rd
man/bimodality_coefficient.Rd
man/mt_heatmap_raw.Rd
man/mt_average.Rd
man/mt_standardize.Rd
man/mt_plot_riverbed.Rd
man/mt_sample_entropy.Rd
mousetrap documentation built on May 23, 2017, 9:03 a.m.

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.