View source: R/seq.dr.mediator.R
seq.dr.mediator | R Documentation |
seq.dr.mediator(mmodels, exposure, int, covariates, regList, augList=NULL, data, ...)
mmodels |
Models corresponding to response. |
exposure |
The time-varying exposure. |
int |
The exposure of interest for the mediation analysis. |
covariates |
The ordered sequence of the variables of the interest without the response. |
regList |
The list consist of the models to estimate the probabilities for the missingness in data. See the function missing.pattern. |
augList |
The list consist of the models of the Augmentations space.
All the models are linear by default ( |
data |
Data. |
... |
coef |
The coefficients from the analysis of the direct effect and the indirect effects. |
mmodels |
The mmodels that have been used for modeling data. |
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. |
exposure |
The exposure of the analysis. |
regList |
The list consist of the models to estimate the probabilities for the missingness in data.
See the function |
augList |
The list consist of the models of the Augmentations space. |
count |
The number of the observed variables in integers. |
CoefList |
The coefficients form the regression models (exist if |
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.