Inverse link function, used for GLM fitting.
inverse_link(x, link)
The inverse link function applied to x
.
If link
is not in the above list of allowed names, NULL
will be returned.
scalar, vector, or matrix input.
the link function, one of "identity"
, "log"
, "sqrt"
,
"logit"
, "probit"
, "cloglog"
, "loglog"
, "reciprocal"
;
quotes are needed (default "identity"
).