[R] converting string vector to integer/numeric vector

Uwe Ligges ligges at statistik.tu-dortmund.de
Wed Sep 15 11:02:45 CEST 2010



On 05.09.2010 14:48, rajesh j wrote:
> Hi,
>
> Is it possible to convert a string vector to integer or numeric vector? In
> my situation I receive data in a string vector and have to convert it based
> on a given type.

?as.interger ?as.numeric

Uwe Ligges



More information about the R-help mailing list