crunch (version 1.30.4)

copyOrder: Copy the variable order from one dataset to another.

Description

copyOrder is deprecated and will be removed in a future version. Instead, you should use the copyFolders function.

Usage

copyOrder(source, target)

Value

returns an object of class VariableOrder (which can be assigned to a dataset with ordering)

Arguments

source

the dataset you wan to copy the order from

target

the dataset you want to copy the order to

Examples

Run this code
if (FALSE) {
ordering(ds) <- copyOrder(ds1, ds)
}

Run the code above in your browser using DataLab