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

Description Usage Arguments Value Examples

View source: R/ordering.R

Description

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

Usage

1
copyOrder(source, target)

Arguments

source

the dataset you wan to copy the order from

target

the dataset you want to copy the order to

Value

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

Examples

1
2
3
4
## Not run: 
ordering(ds) <- copyOrder(ds1, ds)

## End(Not run)

crunch documentation built on April 6, 2021, 1:05 a.m.