powered by
AR1(length = 1000, mean = 0, sd = 1, rho = 0.1, rand = function() { rnorm(1) })
x = AR1() plot(x,type='l',col=rgb(.5,0,0,.5))
Run the code above in your browser using DataLab