Learn R Programming

ipd (version 0.4.0)

link_grad: Gradient of the link function

Description

link_grad function for gradient of the link function

Usage

link_grad(t, method = c("ols", "logistic", "poisson"))

Value

gradient of the link function

Arguments

t

t

method

indicates the method to be used for M-estimation. Options include "mean", "quantile", "ols", "logistic", and "poisson".