: unidcdf (x, n)

For each element of x, compute the cumulative distribution function (CDF) at x of a discrete uniform distribution which assumes the integer values 1–n with equal probability.

Package: statistics