plot.hawkes_ogata | R Documentation |
Plots a Hawkes process simulated by the function hawkes_ogata
,
highlighting the steps used in Ogata's thinning algorithm.
## S3 method for class 'hawkes_ogata'
plot(x, precision = 1000, ...)
x |
A simulated Hawkes process from |
precision |
(default = 1e3) Number of points to plot. |
... |
Only there to fit the declaration of S3 method |
None
# Simulate an exponential Hawkes process with baseline intensity 1 and
# excitation function 1*exp(-2t)
x <- hawkes_ogata(10, 1, 1, 2)
plot(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.