Re: [R] Fwd: subset dataframe/list

2009-06-01 Thread baptiste auguie
of course, this only applies if you have, getOption("OutDec") == "." In any case, follow David's suggestions. baptiste On 1 Jun 2009, at 23:20, baptiste auguie wrote: your data *seems* to have an unusual decimal separator. That would explain why the two-step conversion to numeric fails, whi

Re: [R] Fwd: subset dataframe/list

2009-06-01 Thread baptiste auguie
your data *seems* to have an unusual decimal separator. That would explain why the two-step conversion to numeric fails, while the brute conversion to numeric always gives the factor integer codes. I don't know where your data comes from (str() would be helpful in any case), but if you read

[R] Fwd: subset dataframe/list

2009-06-01 Thread Cecilia Carmo
--- the forwarded message follows --- --- Begin Message --- Doesn´t work neither! head(coeficientes) caedois b1 b2 b3 11 0,033120395 -20,29478338 -0,274638864 22 -0,040629634 74,54239889 -0,069958424 35-0,001116816