powered by
copyOrder is deprecated and will be removed in a future version. Instead, you should use the copyFolders function.
copyOrder
copyFolders
copyOrder(source, target)
returns an object of class VariableOrder (which can be assigned to a dataset with ordering)
VariableOrder
ordering
the dataset you wan to copy the order from
the dataset you want to copy the order to
if (FALSE) { ordering(ds) <- copyOrder(ds1, ds) }
Run the code above in your browser using DataLab