[Rd] Proposal unary - operator for factors

Hadley Wickham hadley at rice.edu
Thu Feb 4 00:10:27 CET 2010


Hi all,

Why not make the unary minus operator return the factor with levels
reversed?  This would make it much easier to sort factors in
descending order in part of an order statement.

Hadley

-- 
http://had.co.nz/



More information about the R-devel mailing list