Hello,

Please read the posting guide found at the bottom of every post to
this list.  We need to be able to see a small, reproducible example
of code that illustrates your question.

It sounds like you might be looking for ?replicate.

On 08/05/2010 03:47 AM, Turn & Fall wrote:

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?

Any help?

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

Reply via email to