glmLink | R Documentation |
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.
glmLink(fn.name = c("logit", "probit", "cloglog"))
fn.name |
One of the three: "logit", "probit", and "cloglog". |
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. |
library(groupTesting)
## Try:
glmLink("logit")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.