Description Usage Arguments Value
View source: R/telegraphModel.R
Compute and plot the PDFs and CDFs of the telegraph process at a given time and initial point, using the exact semi-analytic formula, a Monte-Carlo scheme and a numerical PDE solver.
1 2 3 4 5 6 7 8 9 10 | telegraph_model(
x0,
tt,
sp = 1,
ntime = 250,
N = 400,
M = 400,
npaths = 50,
xscale = 1.5
)
|
x0 |
initial point |
tt |
time horizon |
sp |
speed of light |
ntime |
number of time sub-intervals in sample-paths |
N |
number of time sub-intervals in PDE grid |
M |
number of space sub-intervals in PDE grip |
npaths |
number of paths in ensemble for Monte-Carlo scheme |
xscale |
the scale of the region for the PDE. |
list of the three pdfs plus a list of the input.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.