powered by
Discretizes a Hawkes simulation
discrete(hawkes, length = NULL, binsize = NULL)
The vector of counts
An object created by the function hawkes
hawkes
(Either) The length for the output vector
(Either) The binsize for the discretization
x = hawkes(100, fun=1, repr=0.5, family="exp", rate=2) y = discrete(x, length=100) z = discrete(x, binsize=1) all(y == z)
Run the code above in your browser using DataLab