calculate mean values of two consecutive number
getMeans(x)
x
A numeric vector
x=c(50,60,70) getMeans(x)