Description Usage Arguments Value See Also Examples
View source: R/StepGillespie.R
This function simulates single realisation of a model on a regular grid of times using a function (closure) for advancing the state of the model, such as created by StepGillespie
or StepEulerSPN
.
1 |
x0 |
The initial state of the process at time |
t0 |
The initial time to be associated with the initial state |
tt |
The terminal time of the simulation. |
dt |
The time step of the output. Note that this time step relates only to the recorded output, and has no bearing on the accuracy of the simulation process. |
stepFun |
A function (closure) for advancing the state of the process, such as produced by |
... |
Additional arguments will be passed to |
An R ts
object representing the simulated process.
StepEulerSPN
, StepGillespie
,
StepSDE
, simTimes
, simSample
, as.timedData
1 2 3 4 5 6 7 8 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.