seq.mediator | R Documentation |
seq.mediator(mmodels, exposure, int, data, ...)
mmodels |
The models correspond to the models the outcome. |
exposure |
The exposure. |
int |
The exposure of interest for the mediation analysis. |
data |
Data. |
... |
mmodels |
The mmodels that have been used for modeling data. |
coef |
The coefficients from the analysis of the direct effect and the indirect effects. |
exposure |
The exposure of the analysis. |
N |
The sample size of data. |
NCC |
The sample size of complete cases of data. In case of no missing values NCC is equal to N. |
Thomas Maltesen thomas.maltesen@protonmail.com
put references to the literature/web site here
## Not run:
p<-function(x)exp(x)/(1+exp(x))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.