Displaying 2 results from an estimated 2 matches for "glmfamili".
Did you mean:
glmfamily
2025 Jan 08
1
binomial()$linkinv no longer accepts integer values
On Wed, 8 Jan 2025 10:57:47 -0500
Ben Bolker <bbolker at gmail.com> wrote:
> I haven't done the archaeology to figure out when this broke/exactly
> what change in the R code base broke it: it happened within the last
> month or so
binomial() itself exhibits this property even in R-4.2.2 from more than
two years ago:
R -q -s -e 'getRversion(); binomial()$linkinv(1L)'
2025 Jan 08
1
binomial()$linkinv no longer accepts integer values
As of r87537, binomial()$linkinv no longer accepts integer arguments.
binomial()$linkinv(1.0) ## 0.7310586
binomial()$linkinv(1L)
Error in binomial()$linkinv(1L) :
REAL() can only be applied to a 'numeric', not a 'integer'
Since R is usually so permissive/sloppy with the distinction between
integers and numeric/doubles, I'd argue that this is a bug ...
(This came