ORDER is a generic function for computing ordering
ORDER(x, ...) ## S3 method for class 'default': ORDER(x, \dots, na.last = TRUE, decreasing = FALSE)
- an object.
- further arguments to be passed to methods.
- for controlling the treatment of
TRUE, missing values in the data are put last; if
FALSE, they are put first; if
NA, they are removed.
- logical. Should the sort order be increasing or decreasing?
ORDER is a new generic function which aims at providing
the functionality of the non-generic base function
for arbitrary objects. Currently, there is only a default method which
order. For objects (more precisely if
leverages the generic
xtfrm. Thus, to assure ordering
works, one can supply either a method to
xtfrm or to