search for: drawpic

Displaying 1 result from an estimated 1 matches for "drawpic".

2008 Aug 14
1
error in passing an argument to do.call when do.call is in a for statement
...o the do.call properly. I tried to solve it by giving the path a `<<-' assignment but then only one jpeg is being created the first time, all other jpegs are not created. Maybe anyone of you can help? Here is a simplified version of the code I have been using (looks a bit silly, but the drawpic function is a bunch of code with all kinds of other functionalities, which work fine). #This function is unimportant; it generates random paths randomstring<-function(a=1,n=31){ z<-vector(length=a) for (h in 1:a){ x<-"n" for (i in 1:n){ if (runif(1)>0.5){ y<-round(runif(1...