My data:
ID B 1 1 2 1 3 -1 4 -1 5 -1 6 1 7 1
I would like to create a column C that the value loops through c(1.0, 1.5, 2.0, 2.5) w