[R] is there something like or() ?

Sebastian Leuzinger Sebastian.Leuzinger at unibas.ch
Mon Jan 7 15:55:33 CET 2008

hi, this may be trivial, but we can't seem to find anything adequate, 
(although there is a work around with match() ). We are looking for something 
along the lines of

would be handy, with the potential or() function leading to what 

plot(table1[table1$var2=="a" | table1$var2=="b" | table1$var2=="c" | 

would do.
thanks for any hint

Dr. Sebastian Leuzinger
University of Basel, Department of Environmental Science
Institute of Botany
Schönbeinstr. 6 CH-4056 Basel
ph    0041 (0) 61 2673511
fax   0041 (0) 61 2673504
email Sebastian.Leuzinger at unibas.ch 
web   http://pages.unibas.ch/botschoen/leuzinger

More information about the R-help mailing list