grad_prop_med_yreg_logistic | R Documentation |
Calculate the gradient of the proportion mediated for yreg logistic case.
grad_prop_med_yreg_logistic(pnde, tnie)
pnde |
A numeric vector of length one. Pure natural direct effect. |
tnie |
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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.