R/06_calc_myreg_helpers_coef.R
grad_prop_med_yreg_logistic.Rd
Calculate the gradient of the proportion mediated for yreg logistic case.
grad_prop_med_yreg_logistic(pnde, tnie)
A numeric vector of length one. Pure natural direct effect.
A numeric vector of length one. Total natural indirect effect.
A numeric vector of length two. Gradient of the proportion mediated with respect to pnde and tnie.