Skip to content

Example in ?order

1 message · Gregor Gorjanc

#
Hello!

On R Version 2.2.1  (2005-12-20 r36812) and in SVN

The following part of the example in ?order says

     ## For character vectors we can make use of rank:
     cy <- as.character(y)
     rbind(x,y,z)[, order(x, -rank(y), z)]

But "cy" is not used in there.