The function rpgm.geom uses
rpgm.exp in order to simulate geometric random variables faster than
integer, number of simulations.
prob must be in ]0, 1], else, NA are produced.
A vector of i.i.d. geometric random variables.
For a big number of simulations, it is in general ten times faster than the usual
Nicolas Baradel - PGM Solutions
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.