Learn R Programming

seqCBS (version 1.2.1)

hppSimulate: Simulate a homogeneous Poisson Process

Description

Simulation of a homogeneous poisson process using poisson and uniform distribution

Usage

hppSimulate(lambda, maxVal)

Arguments

lambda

The rate of the poisson process

maxVal

The maximum length of the process to be observed

Value

Returns a vector of point events generated for this process

Details

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

See Also

nhppSimulate