Displaying 1 result from an estimated 1 matches for "itruns".
Did you mean:
itrans
2013 Feb 25
1
creating variable that codes for the match/mismatch between two other variables
...2 1 1 1 1 2 1 ...
$ RT.Accuracy : int 1 1 1 1 1 1 1 1 1 1 ...
$ Prediction : int 0 0 0 0 0 0 0 0 0 0 ...
$ Confidence : int 0 0 0 0 0 0 0 0 0 0 ...
$ ITI : int 1053 1182 1467 1431 1103 1170 1232 1393 1356 1495 ...
$ Subject : num 4 4 4 4 4 4 4 4 4 4 ...
$ ITruns : num 0 0 0 1 0 1 2 3 0 0 ...
$ match : num 1 1 1 1 1 1 1 1 1 1 ...
# mydat$match, the new variable, only contains ones.
min(mydat$match)
[1] 1
> max(mydat$match)
[1] 1
# example: row 1699: no match Stimulus - Prediction
mydat$Stimulus[1699] == mydat$Prediction[1699]
#...