View source: R/gen_arriv_times.R
gen_arriv_times | R Documentation |
This function can be used to generate arrival times for a Poisson point process with rate psi up until time t.
gen_arriv_times(psi, t)
psi |
rate of the arrival process. |
t |
time until which arrivals should be generated. |
Exponential(\psi
) interarrival times.
A vector of arrival times up until time t.
Daniel Gomon
set.seed(123)
gen_arriv_times(psi = 0.3, t = 5)
gen_arriv_times(psi = 0.3, t = 20)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.