Hi all,

I have been trying the nlm function but received an error message
which reads:

Error in nlm(intensities ~ f, c(epsilon.spec.start,
epsilon.unspec.start,  : 
        invalid function value in 'nlm' optimizer

The message is generated somewhere in the compiled part, apparently 
within the function 

static void fcn(int n, const double x[], double *f, function_info
                *state)

where a jump to a "badvalue" label is caused on different conditions:

- if the type of a value generated from the call from R is neither of 
  type INTSXP nor REALSXP,
- if the length of this value is not 1.

The error message is issued after the second call to the function that 
nlm minimizes over.

Could you give any suggestions on what I could be mishandling?

Best wishes


Johannes

______________________________________________
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help

Reply via email to