generatePP {ppsbm} | R Documentation |
Poisson process
Description
Generate realizations of an inhomogeneous Poisson process with an intensity function
Usage
generatePP(intens, Time, max.intens)
Arguments
intens |
Intensity function defined on [0,Time] (needs to be positive) |
Time |
Final time |
max.intens |
Upper bound of intensity on [0,Time] |
Value
Vector of realizations of the PP
Examples
# Generate a Poisson Process with intensity function
# intens= function(x) 100*x*exp(-8*x)
# and max.intens = 5
intens <- function(x) 100*x*exp(-8*x)
poissonProcess <- generatePP(intens, Time=30, max.intens=1)
[Package ppsbm version 0.2.2 Index]