R/misc.R
seq_mean.Rd
Get the means between the points of a sequence
seq_mean(x)
a vector of numeric values
A numeric vector of midpoints between consecutive values in x.
x
seq_mean(c(1, 3, 5, 7, 10)) #> [1] 2.0 4.0 6.0 8.5