simulate_hawkes_stpp {stpphawkes}R Documentation

Simulate homogenous spatio-temporal hawkes model

Description

Simulate homogenous spatio-temporal hawkes model

Usage

simulate_hawkes_stpp(params, poly, t_region, d, history, seed = -1L)

Arguments

params

- list containing params (\mu, a, b, \sigma)

poly

- matrix defining polygon (N x 2)

t_region

- vector of two elements describing time region (e.g., c(0,10))

d

- generate parents on larger polygon by expanded observed polygon by d (default = R::qnorm(.95, 0, sig, 1, 0))

history

- history of process (e.g., numeric())

seed

- set random number seed (default=-1)

Value

A DataFrame containing x,y,t


[Package stpphawkes version 0.2.1 Index]