View source: R/sample_wiener.R
sample_wiener | R Documentation |
sample_wiener
generates one realization of a Wiener process.
sample_wiener(mu = 0, sigma = 1, t_max = 1, dt = 0.001)
mu |
Drift parameter. Default is 0. |
sigma |
Variance parameter. Default is 1. |
t_max |
Time horizon. Default is 1. |
dt |
Time step. Default is 0.001. |
Data frame with columns
Time
Simulated value
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.