nextArrivalCosine: Next Arrival of inhomogeneous Poisson process

View source: R/simulation.R

nextArrivalCosineR Documentation

Next Arrival of inhomogeneous Poisson process

Description

Generates next arrival time (not inter-arrival!) of a nonhomogeneous Poisson process.

Usage

nextArrivalCosine(current_time, params)

Arguments

current_time

the time on the clock.

params

names list of parameters (output of 'listParams()').

Value

time of the next arrival.

Examples

params <- listParams(gamma=10,lambda_0=20,theta=2.5, eta = 1, mu = 1 , s = 3)
nextArrivalCosine(1.2,params = params)

blebedenko/impatience documentation built on March 28, 2022, 12:04 a.m.