search for: avg_eye_pos

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

2013 Mar 10
2
Writing to Spreadsheet issues
...t;LEFT_GAZE_X"] } if (q == srOne[row, "timestamp"] ) { trOne[g, "OCC_EYE_POS"] = srOne[row, "LEFT_GAZE_X"] } if (s >= q & s <= r) { gazeSum = gazeSum + as.double(srOne[row, "LEFT_GAZE_X"]) n = n + 1 } s = s + 1 row = row + 1 } trOne[g, "AVG_EYE_POS"] = gazeSum / n } The code runs well, but there is an issue with this: Error in if (srOne[row, "timestamp"] == 670920) { : missing value where TRUE/FALSE needed That is just a line for debugging, but it means the if statement below it isn't working right if I get the error. I...