Description Usage Arguments Details Value Author(s) See Also Examples

Simulate an (inhomogeneous) self-exciting process with given background intensity and excitation/fertility function.

1 2 3 4 5 |

`nu` |
A (vectorized) function. The baseline intensity function. |

`g` |
A (vectorized) function. The excitation function. |

`cens` |
A scalar. The censoring time, or the time of termination of observations. |

`nuM` |
A scalar. The maximum time of the baseline intensity from 0 to |

`gM` |
A scalar. The maximum time of the excitation function from 0 to |

`exp.g` |
A logical. Whether the excitation function |

`gp` |
A vector of two elements, giving the two parameters a and b in the
exponential excitation function |

The function works by simulating the birth times generation by
generation according to inhomegenous Poisson processes with
appropriate intensity functions (*ν* or *g*).

A list of vectors of arrival/birth times of individuals/events of generations 0, 1, ... The length of the list is the total number of generations.

Feng Chen <feng.chen@unsw.edu.au>

1 2 |

```
```

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.