Displaying 1 result from an estimated 1 matches for "tp24660446p24660575".
2009 Jul 25
1
how to avoid a for looping break after an error message
Hi all,
I wrote a piece of code that generates simulated variables. after variable
generation I use them in several analyzes.
However, when I use a for to repeat the procedure 1000 times I get an erro
message in one of the "for" steps, precisely at this time:
gls.temp<- gls(y2 ~ x2,correlation=corExp(form=~coord2[,1]+coord2[,2])) #
coord 2 are spatial coordinates
and the error