Skip to content
Prev 302038 / 398503 Next

R_nls_iter error: REAL() can only be applied to a 'numeric', not a 'logical'

On Wed, Aug 1, 2012 at 11:40 AM, matthewbk <matthew_bk8 at hotmail.com> wrote:
Certainly no "b" ?
This one's actually tricky since that's an error arising from the C
code. I don't think there's an error in the C code, but let's do some
work on debugging. To start with, can you make a small reproducible
example following the advice given here:

http://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example

To wit, we don't have your "dat" data (use dput! but please, only a
small-ish subset)  nor the function "Model" and the lines of code
replaced by "..." worry me as well.

Best,
Michael