inv_link: Inverse of the link functions

View source: R/inv_link.R

inv_linkR Documentation

Description

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

Usage

inv_link(family, muhat)

Arguments

family

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

muhat

fitted values

Value

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

Author(s)

Ines Ortega-Fernandez, Marta Sestelo.


neuralGAM documentation built on June 22, 2024, 6:55 p.m.