[R] conditional IF with AND

rcoder mpdotbook at gmail.com
Wed Aug 13 18:45:27 CEST 2008

Hi everyone,

I'm trying to create an "if" conditional statement with two conditions,
whereby the statement is true when condition 1 AND condition 2 are met:

code structure:
if ?AND? (a[x,y] <condition1>, a[x,y] <condition2>)

I've trawled through the help files, but I cannot find an example of the
syntax for incorporating an AND in a conditional IF statement.


View this message in context: http://www.nabble.com/conditional-IF-with-AND-tp18966890p18966890.html
Sent from the R help mailing list archive at Nabble.com.

More information about the R-help mailing list