Simulate a homogeneous Poisson Process

Share:

Description

Simulation of a homogeneous poisson process using poisson and uniform distribution

Usage

1
hppSimulate(lambda, maxVal)

Arguments

lambda

The rate of the poisson process

maxVal

The maximum length of the process to be observed

Details

This is a very simple simulation function meant to be used in the NHPP generation.

Value

Returns a vector of point events generated for this process

Author(s)

Jeremy J. Shen

See Also

nhppSimulate

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.