R/utils_pspa.R
link_grad.Rd
link_grad function for gradient of the link function
link_grad
link_grad(t, method = c("ols", "logistic", "poisson"))
t
indicates the method to be used for M-estimation. Options include "mean", "quantile", "ols", "logistic", and "poisson".
gradient of the link function