Re: [R] Re: errors in randomization test

2004-07-08 Thread CR Bleay, School Biological Sciences
Dear Rolf, I tried using you code, however i have found that the whole routine is still stopped by the call to GLM.nb fro certain datasets before it enters the "if" statement. is there anyway to ensure that this does not occur. cheers, colin --On Tuesday, July 6, 2004 9:23 am -0300 Rolf Turner <

Re: [R] Re: errors in randomization test

2004-07-06 Thread CR Bleay, School Biological Sciences
dear rolf, thank you for the assistance, i did not know how to catch the errors from try. of course the new code has thrown up a new error: "Error in terms.default(object) : no terms component" which i have to resolve. cheers, colin --On Tuesday, July 6, 2004 9:23 am -0300 Rolf Turner <[EMAIL PRO

Re: [R] Re: errors in randomization test

2004-07-06 Thread Rolf Turner
Colin Bleay wrote: > last week i sent an e-mail about dealing with errors thrown up from a > glm.nb model carried out on multiple random datasets. > > every so often a dataset is created which results in the following error > after a call to glm.nb: > > "Error: NA/NaN/Inf in foreign function c

Re: [R] Re: errors in randomization test

2004-07-06 Thread Peter Dalgaard
"CR Bleay, School Biological Sciences" <[EMAIL PROTECTED]> writes: > hello all, > > last week i sent an e-mail about dealing with errors thrown up from a > glm.nb model carried out on multiple random datasets. > > every so often a dataset is created which results in the following > error after a

[R] Re: errors in randomization test

2004-07-06 Thread CR Bleay, School Biological Sciences
hello all, last week i sent an e-mail about dealing with errors thrown up from a glm.nb model carried out on multiple random datasets. every so often a dataset is created which results in the following error after a call to glm.nb: "Error: NA/NaN/Inf in foreign function call (arg 1) In addition