orderLike {eatGADS} | R Documentation |
Order the variables in a GADSdat
.
Description
Order the variables in a GADSdat
according to a character vector. If there are discrepancies between the two sets, a warning is issued.
Usage
orderLike(GADSdat, newOrder)
Arguments
GADSdat |
A |
newOrder |
A character vector containing the order of variables. |
Details
The variables in the dat
and in the labels
section are ordered. Variables not contained in the character vector are moved to the end of the data.
Value
Returns a GADSdat
object.
[Package eatGADS version 1.1.0 Index]