search for: fixationspunkt

Displaying 1 result from an estimated 1 matches for "fixationspunkt".

2009 Jul 06
1
how to apply a self-written function to a data frame
...gx - p_pos being columns of the data frame final) gives the error message Error in FUN(newX[, i], ...) : unused argument(s) (c(1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, aso self-written function abst=function(gx, gy, tx, ty, pp){ # Datum 22.6. 09 - 17:24 # gx, gy Gaze-Spur # fx, fy Fixationspunkt # tx, ty Target-Position # pp Prime-Position (von 0 - 3) px = 2*(pp%%2)-1 if (pp > 1) {px = -px } py = 2*(pp%/%2)-1 px = fx + px * abs(tx - fx) py = fy + py * abs(ty - fy) # Koordinaten des Mittelpunkts fx=512 fy=393 # Transformation auf Mittelpunkt (von links/oben auf Zentrum von T...