Copy the variable order from one dataset to another.
copyOrder
is deprecated and will be removed in a future version. Instead,
you should use the copyFolders
function.
copyOrder(source, target)
source |
the dataset you wan to copy the order from |
target |
the dataset you want to copy the order to |
returns an object of class VariableOrder
(which can be assigned
to a dataset with ordering
)
## Not run: ordering(ds) <- copyOrder(ds1, ds) ## End(Not run)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.