cv.diff {YRmisc} | R Documentation |
Calculate the difference of a time series, with a specific lag period. The difference is used to show the change in value over set period.
cv.diff(x,n)
x |
: a numeric vector |
n |
: number of lag periods |
cv.diff(mtcars[,2],1)