On 16/10/2007, at 8:30 AM, pintinho wrote:
>
> Hi,
>
> I am getting a strange result while converting a string vector into
> numeric
> vector:
>
>> Datas[1]
> [1] 37315
>
>> as.numeric(Datas[1])
> [1] 2
>
> Can anyone help me??
It would seem that ``Datas'' is a ***factor*** and NOT a ``string
Hi,
I am getting a strange result while converting a string vector into numeric
vector:
> Datas[1]
[1] 37315
> as.numeric(Datas[1])
[1] 2
Can anyone help me??
--
View this message in context:
http://www.nabble.com/Strange-results-converting-string-to-number-tf4629811.html#a13220089
Sent from
2 matches
Mail list logo