sim_hpp | R Documentation |
Simulate homogeneous Poisson process on the real line.
sim_hpp(rate, min, max)
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 |
a vector containing the points of the realization within the given observation interval
# 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.