[R] Question regarding if statement in while loop
g...Something like "if exists("out")=FALSE next, else..." However, when I tried that, the results matrix was empty created at all. In case it helps, "out" has a "numeric" mode, and is a "matrix"... I've written these functions and loops
Re: [R] Question regarding if statement in while loop
handling may help, something like this: > > foo <- try(eblest(i, dir5, sterr5, weight5, aux5)) > if ( class(foo) == "try-error" ) next > > Take a look at ?try. > > HTH, > Stephan > > > Stephanie Coffey schrieb: >> >> Hi all, >> I