From: Till Baumgaertel (till.baumgaertel@epost.de)
Date: Wed 20 Jun 2001 - 22:16:46 EST
Message-ID: <3B30B04E.2147.A9D9BE@localhost>
thank you!
both solutions
1.) maleOver40 <- subset(d, sex %in% c("m","M") & age > 40)
2.) maleOver40 <- d[(d$sex == "m" | d$sex == "M") & d$age > 40,]
suite my needs very well!
cu
till
-- "I have seen things you people wouldn't believe. Attack-ships on fire off the shoulder of Orion. I watched seabeams glitter in the dark near the Tannhauser gate. All those moments will be lost in time like tears in rain. Time to die." (Roy) -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request@stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
This archive was generated by hypermail 2b30 : Fri 22 Jun 2001 - 18:58:45 EST