Description Usage Arguments Value Author(s) See Also Examples
Get the n consecutive event times of an homogeneous poisson process with given rate. Note: the rate parameter is often referred to as lambda.
1 | hpp.sim(rate, num.events, num.sims = 1, t0 = 0, prepend.t0 = T)
|
rate |
The rate at which events occur in the Poisson process, aka lambda |
num.events |
Number of event times to simulate in each process |
num.sims |
Number of simulated paths to create |
t0 |
Start time |
prepend.t0 |
TRUE: To include t0 at the start of the process, FALSE: Not include to at the start of the process. |
A numeric vector of length num.events if num.sims=1, else, a num.events by num.sims matrix [num.events+1 if prepend.zero=T]
Kristian Brock - Author, Daniel Slade - Contributor
1 2 3 | rate <- 10
target = 50
hpp.sim(rate,target)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.