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