Generalized inverse of the empirical cumulative function.
icdf(u, x, n)
a numeric vector of transformed quantiles.
a numeric vector of quantiles to be transformed.
a numeric vector of data values.
a positive integer specifying the length of the output vector.
Computes the generalized inverse of the empirical cumulative function,
which transforms quantiles u
to the corresponding values of x
based on
the frequency distribution of x
.