April 14, 2021 at 12:00 am
Comments posted to this topic are about the item Sorting in R
April 14, 2021 at 6:34 am
Well, this doesn't make sense. If 'radix' sort is named the fastest method for vectors of integers, and this is the method selected for those when 'auto' is specified, then why is 'quick' the correct answer?
April 14, 2021 at 7:17 am
Explanation doesn't match with the "pseudo correct" answer.
From documentation:
The "radix" method generally outperforms the other methods, especially for character vectors and small integers. Compared to quick sort, it is slightly faster for vectors with large integer or real values
April 14, 2021 at 12:33 pm
The number of items to be sorted would have been helpful. If you're sorting 10 things, it doesn't much matter; if you're sorting 10 million things...
April 14, 2021 at 2:20 pm
stupid editor clicked the wrong button. Default/radix is correct.
April 14, 2021 at 2:23 pm
The number doesn't too much matter in terms of which is better. Always plan for a large number. If it's a small number, then it doesn't matter in terms of time, but if it grows and you didn't think about it at a small number, you are in trouble.
Viewing 6 posts - 1 through 5 (of 5 total)
You must be logged in to reply to this topic. Login to reply