None yet.
levelOrder(f, new.order)
f | A factor. |
---|---|
new.order | A character vector containing all and only the levels of f, in the desired order. |
A factor.
Reorders the levels of factor f as specified in new.order
, which must contain all and
only the existing levels of f (including unused levels), but in the desired order. If new.order
and levels(f)
do not contain exactly the same elements, then do nothing.
Dave Braze davebraze@gmail.com