ddw gives the density, pdw gives the distribution function, qdw gives the quantile function, and rdw generates random samples from a DW distribution with parameters q and beta.
Details
The discrete Weibulll distribution has density
$$p(x,q,\beta) = q^{x^{\beta}}-q^{(x+1)^{\beta}}$$
for $x = 0, 1, 2, \ldots$.
If q or beta are not specified they assume the default values of exp(-1) and 1, respectively. In this case, DW corresponds to a geometric distribution.
References
Nagakawa T, Osaki S. The discrete Weibull distribution. IEEE transactions on reliability 1975; R-24(5).