Description Usage Arguments Value Examples
Plot force of infection for imported events
1 2 3 4 5 6 7 8 9 | plot_intensity_imported(
events,
imported_events,
T_max,
kernel,
parameters,
mu_fn = mu_none,
parent_indexes = NULL
)
|
events |
List of event times |
imported_events |
List of imported event times |
T_max |
Maximum time to plot |
kernel |
Kernel. |
parameters |
Parameters of the Hawkes kernel |
mu_fn |
Function for exogenous intensity (some examples are given in R/mu.R) |
parent_indexes |
Index of parent if known |
Plot of force of infection.
1 2 3 4 5 6 | plot_intensity_imported(events = c(0, 2, 5, 6, 7), imported_events = c(2, 6), T_max = 10,
kernel = exp_kernel, parameters = list("alpha" = 1, "delta" = 1, "delay" = 0))
plot_intensity_imported(events = c(0, 2, 5, 6, 7), imported_events = c(2, 6), T_max = 10,
kernel = ray_kernel, parameters = list("alpha" = 1, "delta" = 1, "delay" = 0))
plot_intensity_imported(events = c(0, 2, 5, 6, 7), imported_events = c(2, 6), T_max = 10,
kernel = ray_kernel, parameters = list("alpha" = 1, "delta" = 1, "delay" = 5))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.