Learn R Programming

aster2 (version 0.1)

link: Link Functions for Aster Models

Description

Calculate link function and up to one derivative for families known to the package.

Usage

link(xi, fam, deriv = 0, delta)

Arguments

Value

a list containing some of the following components:zeroththe value of the link function at $\xi$, a vector of dimension $d$, where $d$is the dimension of $\xi$.firstthe value of the first derivative at $\xi$, a $d \times d$ matrix, where $d$ is the dimension of $\xi$ or a scalar if $\xi$ is scalar.

Note

Not intended for use by ordinary users. Provides R interface for testing to C code called by many other functions in the package.

See Also

families and cumulant

Examples

Run this code
link(0.3, fam.bernoulli(), deriv = 1)
link(0.3, fam.bernoulli(), deriv = 1, delta = 1)

Run the code above in your browser using DataLab