Let\'s say I had a vector:
remove <- c(17, 18, 19, 20, 24, 25, 30, 31, 44, 45).
remove <- c(17, 18, 19, 20, 24, 25, 30, 31, 44, 45)
How do I select / extract every second value in the vector? L
Just another alternative:
> remove[seq_along(remove) %% 2 > 0] [1] 17 19 24 30 44