[R] Odp: For Loop

Petr PIKAL petr.pikal at precheza.cz
Fri Aug 6 08:52:31 CEST 2010


Hi

r-help-bounces at r-project.org napsal dne 05.08.2010 10:47:03:

> 
> I have some code that is working.
> 
> The code calculates the error from the real vale when it does a run.
> 
> The error in metres in called
> 
> errorxy
> 
> 
> I want to do 10 runs of the code and everytime it does a run I want to 
an
> output of the errorxy, so that it can form an array.
> 
> I am guessing I should use a for loop around the entire set of code?

Perhaps. Perhaps not.

Regards
Petr

> 
> Any help?
> -- 
> View this message in context: http://r.789695.n4.nabble.com/For-Loop-
> tp2314593p2314593.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.



More information about the R-help mailing list