[R] warnings on adapt
Ranjan Maitra
maitra at iastate.edu
Wed Mar 28 20:07:58 CEST 2007
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
No one can help you.
Ranjan
On Wed, 28 Mar 2007 11:47:03 -0600 (MDT) lmpalaci at ucalgary.ca wrote:
> Hi all
>
> I was wondering if someone could help me.
>
> I have to estimate some parameters, so I am using the function nlm. Inside
> this function I have to integrate, hence
> I am using the function adapt.
> I don't understand why it is giving the following warnings:
>
> At the beginning:
>
> Warning: a final empty element has been omitted
> the part of the args list of 'c' being evaluated was:
> (paste("Ifail=2, lenwrk was too small. -- fix adapt() !\n", "Check the
> returned relerr!"), "Ifail=3: ndim > 20 -- rewrite the fortran code ;-)
> !", "Ifail=4, minpts > maxpts; should not happen!", "Ifail=5, internal
> non-convergence; should not happen!", )
>
> When it finishes:
>
> Warning messages:
> 1: Ifail=2, lenwrk was too small. -- fix adapt() !
> Check the returned relerr! in: adapt(ndim = 1 + numcycles, lower =
> rep(lowlim.int, (numcycles +
> 2: NA/Inf replaced by maximum positive value
>
> Some people already asked similar questions but couldn't find the answer.
>
> Thanks in advance
>
> Luz
>
> PS: When using the function adapt only (not within nlm) it gives no warnings.
>
> ______________________________________________
> R-help at stat.math.ethz.ch 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.
>
More information about the R-help
mailing list