Skip to content

Error message in nmkb()

1 message · John C Nash

#
I would guess -- we don't have a reproducible code -- that you have an 
undefined function value. Since nmkb is entirely in R to my knowledge, 
you could simply take the source code and modify it to display the 
elements in the test that cause the trouble. Then load the source rather 
than using library(dfoptim).

Alternatively, add to your objective function some code to display the 
parameters before evaluation and the resulting value that is returned. 
Messy but pretty effective to reveal if and where the function is giving 
trouble.

JN
On 12-11-06 06:00 AM, r-help-request at r-project.org wrote: