[R] Nested for loop

Peter Dalgaard p.dalgaard at biostat.ku.dk
Tue Dec 5 00:27:59 CET 2006


Natalie Zayats wrote:
> Hi all,
>
> Does anybody know whether one can nest IF statement in multiple FOR loops ?
> According to results of my code, only the first iteration of each loop is
> performed...
>
>   
Well, yes, that should be possible. Proving your claim with actual 
sample code would give the readers a better chance to diagnose what went 
wrong!




More information about the R-help mailing list