Description Usage Arguments Details See Also Examples
ORDER is a generic function for computing ordering
permutations.
1 2 3 |
x |
an object. |
... |
further arguments to be passed to methods. |
na.last |
for controlling the treatment of |
decreasing |
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 order
for arbitrary objects. Currently, there is only a default method which
simply calls order. For objects (more precisely if
is.object is TRUE) order
leverages the generic xtfrm. Thus, to assure ordering
works, one can supply either a method to xtfrm or to ORDER
(or both).
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.