[R] problem subsetting a data frame

Pete Brecknock Peter.Brecknock at bp.com
Fri Feb 4 02:54:26 CET 2011


try

subset(D, D$x < 5|D$y < 5)

HTH

Pete

-- 
View this message in context: http://r.789695.n4.nabble.com/problem-subsetting-a-data-frame-tp3258981p3259360.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list