[R] substring if value starts with a character

Mat matthias.weber at fnt.de
Mon May 19 15:00:03 CEST 2014


Hello togehter, 

i have a litte problem to convert a data.frame. My data.frame looks like
this one
      A
1  R5000
2  R4800
3  R4700
4  3500
5  3800

I need now a command, which outputs all the numbers, without the character
in front.
The solution look like this one:
    
     A
1  5000
2  4800
3  4700
4  3500
5  3800

Thanks.

Best regards. Mat



--
View this message in context: http://r.789695.n4.nabble.com/substring-if-value-starts-with-a-character-tp4690823.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list