discrete {hawkesbow} | R Documentation |
Discretizes a Hawkes simulation
Description
Discretizes a Hawkes simulation
Usage
discrete(hawkes, length = NULL, binsize = NULL)
Arguments
hawkes |
An object created by the function |
length |
(Either) The length for the output vector |
binsize |
(Either) The binsize for the discretization |
Value
The vector of counts
Examples
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)
[Package hawkesbow version 1.0.3 Index]