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