I have a piece of code which is a For Loop that carries out a function for a number of 1:n arguments. Now I would like to run this for loop 1000 times. Can I just use another for loop?
par1<-function(x,y,z)
for (i in 1:n) {
do stuff
}
How do I manage to get this piece of code repeated so that the function (x,y,z) with the following for loop is reiterated 1000 times ?