R-listers,

In using the adapt function, I am getting the following warning:

Ifail=2, lenwrk was too small. -- fix adapt() !
 Check the returned relerr! in: adapt(ndim = 2, lower = lower.limit, 
upper = upper.limit, functn = pr.set, 

Would someone explain what the 'lenwrk' value indicates in order to help 
diagnose this issue.
Also, what are the possible codes for Ifail, so I can set some traps in 
my code to handle them correctly.

I apologize for not including a reproducible example in this query, but 
the function that is being called in adapt is a rather complex 
temporal-spatial density function and would require many lines of code 
along with the necessary data, and would not be useful at this stage in 
debugging.

Thanks in advance.

Cheers,


Eric Archer, Ph.D.
NOAA-SWFSC
8604 La Jolla Shores Dr.
La Jolla, CA 92037
858-546-7121,7003(FAX)
[EMAIL PROTECTED]

http://swfsc.nmfs.noaa.gov/prd/PROGRAMS/ETPCetacean/default.htm

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to