compute_intensity_function: Computes intensity function at N equally spaced points

Description Usage Arguments Value

View source: R/plots.R

Description

Computes intensity function at N equally spaced points

Usage

1
2
3
4
5
6
7
8
compute_intensity_function(
  events,
  kernel,
  parameters,
  T_max,
  mu_fn = mu_none,
  N = 5000
)

Arguments

events

List of event times

kernel

Kernel.

parameters

Parameters of the Hawkes kernel

T_max

Maximum time of simulation to evaluate function at

mu_fn

Function for exogenous intensity (some examples are given in R/mu.R)

N

Number of points to evaluate function at

Value

Data frame with times and intensities of the Hawkes Process.


mrc-ide/epihawkes documentation built on Feb. 13, 2021, 10:20 a.m.