trunc_geom | R Documentation |
A geometric distribution sampler with probability 'p' restricted to values inside [1, max]. Because of this restriction, very low values of 'p' coupled with low 'max' return increasingly uniform populations in the interval [1, max].
trunc_geom(p, max)
p |
the parameter of the geometric distribution |
max |
the maximum value allowed to be sampled |
the sampled value
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.