Le 30/05/2017 à 09:33, Martin Maechler a écrit :
...
However, even after the patch,
The example from the SO post differs from the result of Richie
Cotton's function...
The explanation is quite simple. In SO function, the first 1/3 quantile
of used example counts 6 points (of 19 in total), while line()'s
definition of quantile leads to 8 points. The same numbers
(6 and 8) are on the other end of sample. In x sample, there are
few repeated values, this is certainly be the reason of different quantiles..

I am not sure that one quantile definition is better or more correct
than the other. So I would leave line()'s definition as is.

Best,
Sergueï.

______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel

Reply via email to