| AR1 | R Documentation |
Generates a Gaussian time series from a first-order autoregressive (AR(1)) model with specified lag-1 autocorrelation, mean, and standard deviation.
AR1(n, alpha, mean = 0, sd = 1)
n |
Positive integer. Number of values to generate. |
alpha |
Numeric in |
mean |
Numeric. Process mean. Default |
sd |
Positive numeric. Process standard deviation. Default |
A numeric vector of length n.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.