diriv: Derivative of the link function

View source: R/diriv.R

dirivR Documentation

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)

Arguments

family

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

muhat

fitted values

Value

derivative of the link function for the fitted values

Author(s)

Ines Ortega-Fernandez, Marta Sestelo.


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