# How can I select every second value from any given vector? # For instance: a <- c(1,2,3,4,5,6) # should yield # 1,3,5 # and # 2,4,6 # which we intend to place into two separate vectors. # # Please solve my problem and please try to avoid the use of functions!solution