[R] Question regarding if statement in while loop

2009-12-26 Thread Stephanie Coffey
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

2010-01-06 Thread Stephanie Coffey
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&#