Re: [R] Converting english words to numeric equivalents

From: Rolf Turner <r.turner_at_auckland.ac.nz>
Date: Mon, 28 Jul 2008 15:01:25 +1200

On 28/07/2008, at 12:32 PM, oscar Linares wrote:

> Hello,
>
> I am trying to convert english words to numeric equivalents, e.g.,
> abc to 123. Is there a function or library or package for doing
> this in R? If not, can it be done easily in R?

Your question is very ill-posed. What ``english word'' would correspond to 0?
What would the ``english word'' xyz (?!?!) correspond to?

If you can phrase a coherent question, it can probably be answered.

        cheers,

                Rolf Turner

######################################################################
Attention:\ This e-mail message is privileged and confid...{{dropped:9}}

R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Mon 28 Jul 2008 - 03:03:43 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Mon 28 Jul 2008 - 09:32:55 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive