Closed thiagoveloso closed 4 years ago
Actually you want a partial sorting. I already have this algorithm in colSort but not in cran yet. You can see a similar usage in Sort using argument partial.
Actually you want a partial sorting. I already have this algorithm in colSort but not in cran yet. You can see a similar usage in Sort using argument partial.
Cool! Looking forward to testing that functionality. Any ideia on when will it be on Cran?
Unfortunately, in a few months.
Done. But this feature will be added in colnth and rownth functions choosing the number of the returned values. For matter of speed the values will be sorted.
Thanks for the wonderful package.
Currently,
rowMins
androwMaxs
return respectively only the minimum and maximum values for each row.It would be great to add an
n
argument to those functions, which would return then
(for example 5) smallest and largest numbers for each row.As a result of the example above, 5 values would be returned for each row (and not just the 5th value). Does that feature sound useful for you guys as well?