[R] how to combine several subsets?

2010-09-06 Thread tooblue
I simply put, NEVER=subset(infants$bwt,ISNO1) UNTILPREGNANT=subset(infants$bwt, ISNO2) ONCENOTNOW=subset(infants$bwt, ISNO3) and I wanna combine those three. I do it like ISNO=NEVERUNTILPREGNANTONCENOTNOW and R tells me 1: In NEVER UNTILPREGNANT : longer object length is not a

Re: [R] how to combine several subsets?

2010-09-06 Thread David Winsemius
On Sep 6, 2010, at 9:22 PM, tooblue wrote: I simply put, NEVER=subset(infants$bwt,ISNO1) UNTILPREGNANT=subset(infants$bwt, ISNO2) ONCENOTNOW=subset(infants$bwt, ISNO3) and I wanna combine those three. I do it like ISNO=NEVERUNTILPREGNANTONCENOTNOW The operator does not do concatenation,