| plot_event_series | R Documentation |
Plot a Hawkes process and its intensity function
plot_event_series(model, cascade = NULL, cascade_index = 1)
model |
A model object where data, model_type and par are required |
cascade |
This cascade data.frame will be used if provided |
cascade_index |
Determine which cascade in the list of cascades to plot default to the first cascade |
A ggplot object
par <- c(K = 0.95, theta = 1)
data <- generate_series(model_type = 'EXP',
par = par,
sim_no = 1, Tmax = Inf)
plot_event_series(new_hawkes(model_type = 'EXP',
par = par,
data = data))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.