hppSimulate: Simulate a homogeneous Poisson Process

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


Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.