On 27-Feb-09 19:37:50, MarcioRibeiro wrote:
>
> Hi listers,
> I check it out at the messages... But I didn't find how do I use
> the while with 2 conditions...
> while (a>1 ????? b>1){
> a<-2
> b<-2
> }
> Should I use what...
> Thanks in advance,
> Marcio
while((a>1)&(b>1)){
a<-2
b<-2
}
is the way to combine the two conditions. However, I would not
want to run that particular little program ...
Ted.
--------------------------------------------------------------------
E-Mail: (Ted Harding) <[email protected]>
Fax-to-email: +44 (0)870 094 0861
Date: 28-Feb-09 Time: 00:16:10
------------------------------ XFMail ------------------------------
______________________________________________
[email protected] 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.