Use just "&" or "|", these perform element wise, > c(1,2) && c(0,1) [1] FALSE > c(1,2) & c(0,1) [1] FALSE TRUE
[[alternative HTML version deleted]] ______________________________________________ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel