Skip to content
Prev 62766 / 63421 Next

binomial()$linkinv no longer accepts integer values

But that is in practice a bit ambiguous, because
[1] TRUE

and integers are also of the mode numeric, so I?d argue that the previous error was more informative. I would either re-word the error to explicitly exclude integers, or coerce integers to doubles. Technically the latter would be more consistent with R, but if someone explicitly passes an integer to the inverse logit function in a real application then chances are it?s not intentional.

Cheers,
Simon