Autocorrel | R Documentation |
Compute autocorrelated variable, p = autocorrelation, lastx = last value of variable x
Autocorrel(p, lastx, x)
p |
autocorrelation |
lastx |
last value of variable x |
x |
A random (non-correlated) variable generated from the gamma function for the variable. |
New random autocorrelated variable (scalar)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.