ar1_errors.Rd
Generate correlated Gaussian errors based on an autoregressive(1) covariance structure.
ar1_errors(n, rho)
Number of samples.
Correlation.
A vector of simulated errors with length n.
n
errs <- ar1_errors(n = 100, rho = 0.7)