link | R Documentation |
Calculate link function and up to one derivative for families known to the package.
link(xi, fam, deriv = 0, delta)
xi |
mean value parameter value, a numeric vector. |
fam |
an object of class |
deriv |
the number of derivatives wanted. Must be either zero or one. |
delta |
direction in which limit is taken. Link
function is for family that is limit of family specified, limit
being for distributions with canonical parameter
|
a list containing some of the following components:
zeroth |
the value of the link function at |
is the dimension of \xi
.
first |
the value of the first derivative at |
Not intended for use by ordinary users. Provides R interface for testing to C code called by many other functions in the package.
families
and cumulant
link(0.3, fam.bernoulli(), deriv = 1)
link(0.3, fam.bernoulli(), deriv = 1, delta = 1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.