powered by
diff_cpp(x, lag, differences)
vec
unsigned int
dif
vector
x = rnorm(10000, 0, 1) diff_cpp(x,1,1)
Run the code above in your browser using DataLab