After using setindex(dt,col1,col2)
to create the secondary indices, how to display the whole data table in col1 and/or col2 order? R examples only show how to extract certain rows based on col1 and/or col2 values.
Thanks in advance.
After using setindex(dt,col1,col2)
to create the secondary indices, how to display the whole data table in col1 and/or col2 order? R examples only show how to extract certain rows based on col1 and/or col2 values.
Thanks in advance.