take mean at fixed intervals along a vector

step_means(x, step)

Arguments

x

numeric vector

step

integer step size

Value

numeric of length length(x)/step

Details

User should check that length(x) is an even multiple of step