Re: [R] [External] Weird behaviour of order() when having multiple ties

2022-01-31 Thread Avi Gross via R-help
"=7:1))[[1]] [1] 0.6 0.5 0.3 0.2 0.1 0.1 0.2 Of course for this simple a need, definitely overkill and I would stick with base R. LOL! -Original Message----- From: Ebert,Timothy Aaron To: Avi Gross ; maech...@stat.math.ethz.ch ; stefan.b.fl...@gmail.com Cc: r-help@r-project.org S

Re: [R] [External] Weird behaviour of order() when having multiple ties

2022-01-31 Thread Ebert,Timothy Aaron
our of order() when having multiple ties [External Email] >>>>> Stefan Fleck >>>>> on Sun, 30 Jan 2022 21:07:19 +0100 writes: > it's not about the sort order of the ties, shouldn't all the 1s in > order(c(2,3,4,1,1,1,1,1)) come before 2,3

Re: [R] [External] Weird behaviour of order() when having multiple ties

2022-01-31 Thread Martin Maechler
> Stefan Fleck > on Sun, 30 Jan 2022 21:07:19 +0100 writes: > it's not about the sort order of the ties, shouldn't all the 1s in > order(c(2,3,4,1,1,1,1,1)) come before 2,3,4? because that's not what > happening aaah.. now we are getting somewhere: It looks you have alway