Learn R Programming

neuralGAM (version 2.0.1)

inv_link: Inverse of the link functions

Description

Computes the inverse of the link function according to the distribution family specified in the "family" parameter.

Usage

inv_link(family, muhat)

Value

the inverse 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.