For each element of x, compute the quantile (the inverse of the CDF) at x of the binomial distribution with parameters n and p, where n is the number of trials and p is the probability of success.
Package: statistics