Description Usage Arguments Value
A basic Euler-scheme to generate a sample path of a Telegraph process, or also known as the Goldstein-Kac process. It travels at a constant absolute velocity changing directions randomly, according to a Poisson process.
1 | samplePath(tt, x0, sp, n, startSign = NULL)
|
tt |
length of time to run a sample-path for |
x0 |
the initial position of the particle |
sp |
the speed of light/velocity of the particle |
n |
the number of time sub-intervals to use |
startSign |
the starting direction to use +/- 1, can be NULL for random |
data.frame containing the time step, the Poisson process, the random sign changing process, Kac's "random time" and finally the telegrapher process proper.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.