Wednesday, September 14, 2011

R index search and subset data

ind<-which(x$a>.5 & x$b>.5)

subset<-x(ind,)

No comments:

Post a Comment