[R] warnings on adapt
lmpalaci at ucalgary.ca
lmpalaci at ucalgary.ca
Wed Mar 28 19:47:03 CEST 2007
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.
More information about the R-help
mailing list