sim_hpp: Simulate homogeneous Poisson process on the real line.

View source: R/sim_hpp.R

sim_hppR Documentation

Simulate homogeneous Poisson process on the real line.

Description

Simulate homogeneous Poisson process on the real line.

Usage

sim_hpp(rate, min, max)

Arguments

rate

non-negative number giving the rate parameter of the process

min

lower limit of the observation interval

max

upper limit of the observation interval

Value

a vector containing the points of the realization within the given observation interval

Examples

# A realization from a Poisson process with rate 10 observed over the unit interval [0,1]
y <- sim_hpp(rate = 10, min = 0, max = 1)

PeteyCoco/ppdeconv documentation built on March 21, 2022, 5:35 a.m.