[R] Warning: as.numeric reorders factor data
ripley@stats.ox.ac.uk
ripley at stats.ox.ac.uk
Sun Dec 8 17:34:03 CET 2002
On Sun, 8 Dec 2002, Bud Gibson wrote:
> Thanks for the clarification. It's nice to know that there is some
> systematicity to the behavior.
>
> Is this documented anywhere? I did look at the help for as.numeric, and
Yes, in the FAQ no less, Q7.12 in the version I have:
``In any case, do not call `as.numeric()' or their likes directly.''
Ouch....
--
Brian D. Ripley, ripley at stats.ox.ac.uk
Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel: +44 1865 272861 (self)
1 South Parks Road, +44 1865 272860 (secr)
Oxford OX1 3TG, UK Fax: +44 1865 272595
More information about the R-help
mailing list