Displaying 1 result from an estimated 1 matches for "occ_eye_pos".
2013 Mar 10
2
Writing to Spreadsheet issues
...while (s <= e) {
if (srOne[row, "timestamp"] == 670920) {
print(srOne[row, "timestamp"]) }
if (r == srOne[row, "timestamp"] ) {
trOne[g, "R_EYE_POS"] = srOne[row, "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...