geomdist {mistr} | R Documentation |
Creates an Object Representing Geometric Distribution
Description
The function creates an object which represents the geometric distribution.
Usage
geomdist(prob = 0.5)
Arguments
prob |
probability parameter, default: 0.5. |
Details
See Geometric
.
Value
Object of class geomdist.
See Also
Examples
G <- geomdist(0.5)
d(G, c(2, 3, 4, NA))
r(G, 5)
[Package mistr version 0.0.6 Index]