Learn R Programming

ppsbm (version 0.2.2)

generatePPConst: Poisson process with piecewise constant intensities

Description

Generate realizations of a Poisson process with piecewise constant intensities

Usage

generatePPConst(intens, Time)

Arguments

intens

Vector with the constants of the intensities (defined on a regular partition of interval [0,Time])

Time

Time

Examples

Run this code
intens <- c(1,3,8)
constpp <- generatePPConst(intens, 10)

Run the code above in your browser using DataLab