Re: [R] Changing values (factors) does not change level s of that value?!

2008-11-16 Thread Oliver Bandel
Philipp Pagel wzw.tum.de> writes: [...] > > foo$bar <- factor(foo$bar) This was my first attemot, before posting here, and it somehow did not worked... ...now it works so I maybe was too tired, when trying it and messed something up. :( [...] > > x <- factor(c(0,1,3,4,5,7)) > > x > [1]

Re: [R] Changing values (factors) does not change level s of that value?!

2008-11-16 Thread Oliver Bandel
Philipp Pagel wzw.tum.de> writes: [...] > As you are reading the data from a file anyway, the simplest > solution would probably be to use the colClasses argument ot > read.table in order to get numeric avlues in the first place. [...] Hey, I tried this colClasses-option. It's really fine! :) C