Skip to content
Prev 35762 / 63424 Next

Proposal unary - operator for factors

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