sortC: Returns case-level information in order
Description
Returns case-level information in order
Usage
sortC(data, id, by, descending = TRUE)
Arguments
id
A variable in the dataset (data) that identfies individual cases, typically the name of states, countries, etc.
by
Variable the dataset should be sorted by
descending
Should the cases be sorted in descending order? By default, set to TRUE