Re: [R] the quantile function and problems.

2022-07-14 Thread Ivan Krylov
В Thu, 14 Jul 2022 14:58:17 +0200 Uwe Brauer пишет: > What turns me crazy is that the way R, matlab and the JCR calculate > the quartiles gives different results. R by itself can give up to 9 slightly different results: sapply(1:9, function(type) quantile(1:267, 1:3/4, type = type)) # [,1]

Re: [R] the quantile function and problems.

2022-07-14 Thread Bert Gunter
Read ?quantile carefully, please (and any references therein that you may wish to consult). You are estimating a continuous function by a discrete finite step function, and as the Help page (and further references) explains, there are many ways to do this. Bert On Thu, Jul 14, 2022 at 2:33 PM U