Thanks, Uwe. It's very useful.
Annie

2009/12/13 Uwe Ligges <lig...@statistik.tu-dortmund.de>

>
>
> annie Zhang wrote:
>
>> Hi, All,
>>
>> Is there a 'do while' loop in R for which I can check conditions after?  I
>> checked and it seems there is only the 'while' function.
>>
>
>
> Right, but you can use repeat{} and check conditions whereever using if()
> and exit the loop with the "break" control word.
>
> Uwe Ligges
>
>
> Thanks,
>>
>> Annie
>>
>>        [[alternative HTML version deleted]]
>>
>> ______________________________________________
>> R-help@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<http://www.r-project.org/posting-guide.html>
>> and provide commented, minimal, self-contained, reproducible code.
>>
>

        [[alternative HTML version deleted]]

______________________________________________
R-help@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.

Reply via email to