Quantiles corresponding to the uniform distribution of the distribution function of a vector, or of the columns of a matrix or data frame.
a numeric vector, matrix, or data frame.
the number of quantiles.
For a vector x, the kth uniform quantile, for k = 1,…,K, is the sample quantile at q = (k-0.5)/K. In other words,
uniformQuantiles(X, K, FALSE)[k] = quantile(X, (k-0.5)/K) if
X is a vector. If
X is a matrix or data frame, the function is applied to the columns of
A vector of quantiles if
X is a vector, a matrix of quantiles of the columns of
X is a matrix or data frame.
uniformQuantiles is used to initialize component means in
1 2 3 4 5 6 7 8 9 10