Learn R Programming

neuralGAM (version 2.0.1)

diriv: Derivative of the link function

Description

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

Usage

diriv(family, muhat)

Value

derivative of the link function for the 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.