[R] Subset and order

Ben Bolker bbolker at gmail.com
Sat Jul 6 00:12:24 CEST 2013


David Carlson <dcarlson <at> tamu.edu> writes:

> 
> It may be that single and efficient are opposing goals. Two steps
> lets you create the subset and then just order each query.
> Alternatively, if the data do not change often, create an ordered
> version and query that.
> 

   I don't know the data.table package well, but it seems as though 
this might be an appropriate job for it.



More information about the R-help mailing list