This function calculates the \(k\)-th decile of a ddf distribution.
Details
For details consult the details of quantiles() and recall that a \(k\)-th
decile is a \(k/10\)-quantile and vice versa.
See also
Other quantiles:
percentile(),
quantiles(),
quartile()
Examples
decile(bin(10, 0.3), 3)
#> [1] 2
