I'm a R beginner and currently stuck.
I have multiple columns (lets name them x1, x2,x3, x4).
The column x1 contains values of 0s and 1s representing two different conditions.
The column x4 contains reaction times of the participants.
I want the code to give me a new value (e.g., z5) that gives me a list of the participant reaction times that occur on the same row as the 0s in the x1 column. Thus giving me all the reaction times for one of the conditions in the new value.