powered by
The function creates an object which represents the geometric distribution.
geomdist(prob = 0.5)
Object of class geomdist.
probability parameter, default: 0.5.
See Geometric.
Geometric
G <- geomdist(0.5) d(G, c(2, 3, 4, NA)) r(G, 5)
Run the code above in your browser using DataLab