glmLink {groupTesting} | R Documentation |
Link Functions in the Class of Generalized Linear Models
Description
This function provides characteristics of common link functions (logit, probit, and comlementary log-log). Specifically, based on the link name, the function with its inverse, first derivative, and second derivative is provided.
Usage
glmLink(fn.name = c("logit", "probit", "cloglog"))
Arguments
fn.name |
One of the three: "logit", "probit", and "cloglog". |
Value
A list with components:
g |
The link function corresponding to "logit", "probit", or "cloglog". |
dg |
The first derivative of g. |
d2g |
The second derivative of g. |
gInv |
The inverse of g. |
Examples
library(groupTesting)
## Try:
glmLink("logit")
[Package groupTesting version 1.1.0 Index]