Re: [R] subset problem (reducing from six to two levels)

2009-02-05 Thread Ine
Great, this worked for me, exactly how I needed it. Thanks for all the replies! Peter Dalgaard wrote: > > Ine wrote: >> Hi all, >> I have got a seemingly simple problem (I am an R starter) with subsetting >> my >> data set, but cannot figure out the solutio

[R] subset problem (reducing from six to two levels)

2009-02-05 Thread Ine
Hi all, I have got a seemingly simple problem (I am an R starter) with subsetting my data set, but cannot figure out the solution: I want to subset a data set from six to two levels, so that all analyses are done only with these two remaining levels. I tried TOTAL<-read.delim('total.csv',header=T