This function calculates the quantiles for the given percentiles.
If data size exceeds the limit (see: 'getOption(gmax.data.size)'), the data
is randomly sampled to fit the limit. A warning message is generated. The
seed of the pseudo-random generator can be controlled through 'grnd.seed'
option.
Note: this function is capable to run in multitasking mode. Sampling may
vary according to the extent of multitasking. Since multitasking depends on
the number of available CPU cores, running the function on two different
machines might give different results. Please switch off multitasking if you
want to achieve identical results on any machine. For more information
regarding multitasking please refer "User Manual".