[R] Chars as numbers

From: Josef Eschgfaeller <esg_at_felix.unife.it>
Date: Sat 28 May 2005 - 00:09:41 EST

Is there a proper function for transforming a character to a number instead of using

   i=match('c',letters)
   # 3

Thanks.
Josef Eschgfäller

-- 
Josef Eschgfäller
Dipartimento Matematico
Universita' di Ferrara
http://felix.unife.it


______________________________________________ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Received on Sat May 28 00:22:42 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:32:11 EST