Re: [R] the bug of function base::order

2014-11-10 Thread ONKELINX, Thierry
-project.org] namens 岳�S [yue...@139.com] Verzonden: maandag 10 november 2014 8:55 Aan: r-help@r-project.org Onderwerp: [R] the bug of function base::order Hi, all: I find a bug of the function base::order. For example, y = rep(9, 9:1); rbind(y,order(y, decreasing=FALSE)); the result is: [,1

[R] the bug of function base::order

2014-11-09 Thread 岳�S
Hi, all: I find a bug of the function base::order. For example, y = rep(9, 9:1); rbind(y,order(y, decreasing=FALSE)); the result is: [,1] [,2] [,3] [,4] [,5] [,6] [,7] [,8] [,9] [,10] y998765432 1 1098765431