Hi Folks!

 

I need to execute a piece of R code inside a loop, say, every fourth
time my counter increases (it increases by 1 unit each time.)

 

Is there any sort of mod function in R to do this?  Or is this done some
other way?  Many thanks!

 

Best,

 

john


        [[alternative HTML version deleted]]

______________________________________________
[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

Reply via email to