nhppSimulate: Simulate a non-homogeneous Poisson Process

Description Usage Arguments Details Value Author(s) See Also

View source: R/nhppSimulate.R

Description

This function simulates an NHPP by blocked thinning

Usage

1
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


seqCBS documentation built on May 29, 2017, 1:09 p.m.