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, aa, bb, σ\sigma,μx\mu x, μy\mu y, σx\sigma x, σy\sigma y )

poly

- matrix defining polygon (NN x 22)

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 xx,yy,tt


[Package stpphawkes version 0.2.1 Index]