getmouseDV(x, y, t, unit, counterb, refcounterb,
dwellfin, velajbin, escape, escapeinit)
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)
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