Description Usage Arguments Details Value References See Also Examples
This function generates a given number of occurrence points in a homogenous Poisson process (HPP) in continuous time.
1 |
lambda |
Numeric positive value. Intensity λ used to generate the HPP. |
nEv |
Optional. Positive integer. Number of points to be generated in the HPPs. |
fixed.seed |
An integer or NULL. If it is an integer, that is the value used to set the seed in random generation processes. It it is NULL, a random seed is used. |
The points in a HPP are generated using independent exponentials with mean λ.
Points in a HPP can also be generated using simNHPc
. The main difference
is that in simHPc
the number of points to be generated is given, while simNHPc
generates points in a period of a given length T.
A list with elements:
posN |
Numeric vector. Occurrence points of the HPP. |
T |
Length of the period where the given number of points are generated. |
fixed.seed |
Input argument. |
Ross, S.M. (2006). Simulation. Academic Press.
1 2 | aux<-simHPc(lambda=0.01, nEv=50,fixed.seed=123)
aux$posH
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.