Greetings,
I have dataset containing lap times. A small sample of the dataset is shown below:
1.148341719 1.149355031 1.15 1.150142468 1.151574093 1.154324165 1.154833376 1,2855 1.156342757 1.156512739
1.15694131 1.156984764 1.158113329 1.159175428 1.16 1.253106228 1.16428044
The average lap time 1,24 minutes.
Now I want to create a binary variable , containing the levels fast (quicker than 1,24 minutes) and slow (slower than 1,24),but I don't know how to assign the levels based on the numerical value of the datapoints
I basically want the output to look like this:
fast fast fast fast fast fast fast
slow fast fast
fast fast fast fast fast slow fast slow fast
I would be so so grateful if someone of you could please help me with creating the variable.