This function simulates an NHPP by blocked thinning
A list containing x and y, which are the mid-points of the window and the smoothed number of events in this window
The list component y of the argument represents the smoothed number of events in the window, namely, they represent the window rate
Returns a vector of events of a realization of the NHPP
Jeremy J. Shen
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.