hppSimulate {seqCBS}R Documentation

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

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


[Package seqCBS version 1.2.1 Index]