Message-ID: <da79af330808131120y3421a83dvcf65a6141326e044@mail.gmail.com>
Date: 2008-08-13T18:20:42Z
From: Henrique Dallazuanna
Subject: conditional IF with AND
In-Reply-To: <18966890.post@talk.nabble.com>
See:
?`&`
On Wed, Aug 13, 2008 at 1:45 PM, rcoder <mpdotbook at gmail.com> wrote:
>
> 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.
>
> Thanks,
>
> rcoder
> --
> 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.
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>
--
Henrique Dallazuanna
Curitiba-Paran?-Brasil
25? 25' 40" S 49? 16' 22" O