talpha | R Documentation |
A parametric link function, i.e. a family of link functions intended for binary data.
talpha(alpha, verbose = FALSE, splineinv = TRUE, eps = 2 * .Machine$double.eps, maxit = 100)
alpha |
numeric, must be larger than 0 and smaller than 2. |
verbose |
logical, warn if truncation occurs when link function or inverse are used. |
splineinv |
logical, use spline interpolation for calculation of inverse link? |
eps |
if splineinv is |
maxit |
maximum number of iterations for Newton-Raphson. Ignored if splineinv is |
An object of class "link-glm"
, see family
and family
. Intended for use with glm
.
Philipp Doebler <philipp.doebler@googlemail.com>
canonical <- binomial(link = talpha(1)) # logit-link talpha_fam <- function(alpha)binomial(link = talpha(alpha)) # talpha family ## A call to glm might look like this: glm(formula, family = talpha_fam(1.5))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.