dst_geom | R Documentation |
Makes a Geometric distribution, corresponding to the number of failures in a sequence of independent trials before observing a success.
dst_geom(prob)
prob |
Probability of success in each trial; single numeric between 0 and 1. |
A Geometric distribution.
d <- dst_geom(0.4)
# This version of the Geometric distribution does not count the success.
range(d)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.