[R] Changing values

Andrew Ramsey aramsey at schoolph.umass.edu
Sun Aug 3 22:54:43 CEST 2008


Hello--

I am a relatively new user to R and I cannot find the information I  
need. Please help.

I have a very large data set with values including letters, numbers,  
and symbols (sometimes within the same vector value [ie X9-].

I've imported the data using read.fwp and it arrives in list format.

I'd like to change the letters and symbols to numbers (ie X9-  ->   
00911) in every entry.

How would you recommend I try to do so?

Thank you!



More information about the R-help mailing list