Description Usage Arguments Value

Simulate from a stationary Gaussian AR(1) process at `n`

consecutive
time points.

1 | ```
ar1_sim_cpp(n, rho, sigma)
``` |

`n` |
The number of timepoints to simulate for. |

`rho` |
A real number strictly less than 1 in absolute value. |

`sigma` |
A positive real number. |

A vector of length `n`

with the process values.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.