Random numbers from the geometric distribution
x=rgeom(n,p)
positive integer or vector [lig,col] of integers
probability
n-vector of random numbers chosen from geometric distribution
Random numbers from the geometric distribution P(X=k)=p(1-p)^k