nhppSimulate {seqCBS}R Documentation

Simulate a non-homogeneous Poisson Process

Description

This function simulates an NHPP by blocked thinning

Usage

nhppSimulate(smoothRates)

Arguments

smoothRates

A list containing x and y, which are the mid-points of the window and the smoothed number of events in this window

Details

The list component y of the argument represents the smoothed number of events in the window, namely, they represent the window rate

Value

Returns a vector of events of a realization of the NHPP

Author(s)

Jeremy J. Shen

See Also

nhppRateEstimate, nhppSpike


[Package seqCBS version 1.2.1 Index]