View source: R/generate_data_ou.R
generate_ornstein_uhlenbeck | R Documentation |
Generate autoregressive process with errors according the Ornstein-Uhlenbeck process.
generate_ornstein_uhlenbeck(N, v, rho = 0)
N |
Numeric for the number of observations. |
v |
Numeric for resolution of data or a vector specifying the observation points. |
rho |
Numeric which indicates the dependence on the previous curve. |
A dfts object for the generated data.
generate_ornstein_uhlenbeck(N = 100, v = 20)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.