simulate_hawkes_stpp_nonunif {stpphawkes}R Documentation

Simulate inhomogenous spatio-temporal hawkes model

Description

Simulate inhomogenous spatio-temporal hawkes model

Usage

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

Arguments

params

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

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]