Displaying 1 result from an estimated 1 matches for "l72c1".
Did you mean:
7c1
2025 Jan 08
1
binomial()$linkinv no longer accepts integer values
...eality?
cheers
Ben Bolker
====
binomial()$linkinv is:
function (eta)
.Call(C_logit_linkinv, eta)
<environment: namespace:stats>
Here is the body of the function in C code:
https://github.com/r-devel/r-svn/blob/195ab0870a8131d01492f8f1d3a2ad514bc7e040/src/library/stats/src/family.c#L72C1-L89C2
SEXP logit_linkinv(SEXP eta)
{
SEXP ans = PROTECT(shallow_duplicate(eta));
int i, n = LENGTH(eta);
double *rans = REAL(ans), *reta = REAL(eta);
if (!n || !isReal(eta))
error(_("Argument %s must be a nonempty numeric vector"), "eta");
for (i = 0;...