If 'intervals.set.out' is 'NULL' a set of intervals with additional
columns representing quantiles for each percentile.
Arguments
expr
track expression for which quantiles are calculated
percentiles
an array of percentiles of quantiles in [0, 1] range
intervals
set of intervals
iterator
track expression iterator. If 'NULL' iterator is determined
implicitly based on track expressions.
band
track expression band. If 'NULL' no band is used.
intervals.set.out
intervals set name where the function result is
optionally outputted
Details
This function calculates quantiles of 'expr' for each interval in
'intervals'.
If 'intervals.set.out' is not 'NULL' the result is saved as an intervals
set. Use this parameter if the result size exceeds the limits of the
physical memory.