powered by
slice(input, by = 2, pattern = NULL)
x <- seq(1:15) slice(x, by = 2, pattern = 3)
Run the code above in your browser using DataLab