Extract from two-dimensional (x-y coordinates) of a trajectory several dependent measures, such as area under the curve, latency to start the movement, x-flips, etc. Mainly developed to analyze mouse-tracking data.
Package: |
mousertrack |
Type: |
Package |
Version: |
1.0 |
Date: |
2015-01-28 |
License: |
GPL >= 2 |
getmouseDV
: Mother function to extract 40 different
measures characterizing the action-dynamics response
underlying the arm-reaching trajectory.
interpltraj
: Interpolate one (or two-dimensional) trajectory
into a fix number of bins.
Spivey, M., and Dale, R. (2006). Continuous dynamics in real-time cognition. Current Directions in Psychological Science, 15(5), 207-211. Freeman, J. B., and Ambady, N. (2010). Mousetracker: Software for studying real-time mental processing using a computer mouse-tracking method. Behavior Research Methods, 42(1), 226-241.
data(mousemove) ## load data
unit = 25; dwellfin = escape = escapeinit = 100
velajbin = 6
x = mousemove$x; y = mousemove$y;
counterb = as.character( mousemove$counterb[1] )
refcounterb = "R"
t = mousemove$time
ans = getmouseDV(x, y, t, unit, counterb,
refcounterb, dwellfin, velajbin,
escape, escapeinit)
str(ans)
Run the code above in your browser using DataLab