Description Usage Arguments Value
View source: R/EulerMaruyama.R
The stochastic Euler-Maruyama solver for SDEs. See wikipedia for details
1 | sde_em(x0, tt, drift, diffusion, n = 1000)
|
x0 |
initial value of the process |
tt |
length to simulate over |
drift |
the drift coefficient function of space-time in the order |
diffusion |
the diffusion coefficient function of space-time, in the order |
n |
number of sub-intervals in time-discretization |
data.frame
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.