[R] (no subject)

2010-05-18 Thread Arantzazu Blanco Bernardeau
and even entering 'as.numeric(levels(arcilla))[arcilla]'the variable is resting as factor, and the linear model is not valid (for my purposes). The decimal commas have been converted to decimal points, so I have no idea of what to do. Thanks a lot Arantzazu Blanco Bernardeau Dpto de Químic

[R] "Re: Change class factor to numeric"

2010-05-18 Thread Arantzazu Blanco Bernardeau
urposes). > The decimal commas have been converted to decimal points, so I have no idea > of what to do. > Thanks a lot > > > Arantzazu Blanco Bernardeau > Dpto de Química Agrícola, Geología y Edafología > Universidad de Murcia-Campus de Espinardo > > > > > > &

Re: [R] "Re: Change class factor to numeric"

2010-05-18 Thread Arantzazu Blanco Bernardeau
12 2 2 4 2 2 ...  $ SUELO   : Factor w/ 40 levels "Arenosol calcárico",..: 30 3 8 3 36 7 7 10 7 3 ... In the other side, the variable Drenaje (drainage) that is factor mode, appears as integer. Thanks a lot! Arantzazu Blanco Bernardeau Dpto de Química Agrícola, Geología y Edafo

Re: [R] (no subject)

2010-05-18 Thread Arantzazu Blanco Bernardeau
r more. If not, I could make an english version of the file to send, so you can try the commands. Thanks a lot for your help! Arantzazu Blanco Bernardeau Dpto de Química Agrícola, Geología y Edafología Universidad de Murcia-Campus de Espinardo

[R] FW: "Re: Change class factor to numeric"

2010-05-18 Thread Arantzazu Blanco Bernardeau
Hello everybody the problem has been solved. It was my mistake not to be ensured that any N/A had dissapeared. I do apologize for the inconveniences caused ;) friendly greeting sfrom Spain! Arantzazu Blanco Bernardeau Dpto de Química Agrícola, Geología y Edafología Universidad de Murcia

[R] Creating dummy variables

2010-06-03 Thread Arantzazu Blanco Bernardeau
1:length(datos$cambi)){if(datos$codsuelo[i]>=3.1 && datos$codsuelo[i]>=3.3){datos$cambi[i]=1}else{0} } and so on... but anyway R answers that a necesary value TRUE/FALSE is not existing. What can I do? thanks a lot!! Arantzazu Blanco Bernardeau Dpto de Química Agrícola, Geología y

Re: [R] Creating dummy variables

2010-06-03 Thread Arantzazu Blanco Bernardeau
hey thanks I did solve it already, it had more mistakes as you see :S bye Arantzazu Blanco Bernardeau Dpto de Química Agrícola, Geología y Edafología Universidad de Murcia-Campus de Espinardo > Date: Thu, 3 Jun 2010 14:40:30 + > From: bt_jan...@yahoo.de > Subject: AW: [R]

[R] cbind with vectors of different lengths?

2010-06-09 Thread Arantzazu Blanco Bernardeau
[5] 17.4    0.9  thanks and greets. Arantzazu Blanco Bernardeau Dpto de Química Agrícola, Geología y Edafología Universidad de Murcia-Campus de Espinardo _ ¿Un navegador seguro buscando es