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]
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
2 matches
Mail list logo