Displaying 1 result from an estimated 1 matches for "normallyrecognize".
2003 May 09
1
codes() has been deprecated
...ively re-orders the levels into alphabetical order (in the
current locale), forms a factor with those levels and then returns the
internal codes. This is rarely what is wanted, as if the levels are not
in alphabetical order this is normally reflects some other natural order
and the function should normallyrecognize that. I normally use unclass()
to get the internal codes, but as.vector and as.integer work equally well.
R has a codes() replacement function that is also deprecated, and of which
we can find no uses.
Brian Ripley
--
Brian D. Ripley, ripley@stats.ox.ac.uk
Professor of Appl...