I would like to declare a new probability distribution, I need a geometric distribution, I know that in R this type of distribution is already declared, but I need geometric distribution of the form p(1-p)^(k-1), so the mean is 1/p and k={1, 2, ...}. And then I would like to use all function of type rgeom and etc.
Thank you very much for any help.