RGEOM

rgeom
Random numbers from the geometric distribution

         x=rexp(n,l)
       Input    n  positive integer or vector [lig,col] of integers
                p  probability

       Output   x  n-vector of random numbers
                   chosen from geometric distribution G(p)