Learn R Programming

neuralGAM (version 2.0.1)

link: Link function

Description

Applies the link function according to the distribution family specified in the "family" parameter.

Usage

link(family, muhat)

Value

the link function specified by the "family" distribution for the given fitted values

Arguments

family

A description of the link function used in the model: "gaussian", "poisson", or "binomial"

muhat

fitted values

Author

Ines Ortega-Fernandez, Marta Sestelo.

Ines Ortega-Fernandez, Marta Sestelo