coeff | R Documentation |
Part of the set of internal functions called within the tvmcurve_3trt
function
to assist in the estimation of time varying mediation effect.
coeff(j, T1, T2, x, y)
j |
a number indicating time point of observation |
T1 |
a vector indicating assignment to treatment 1 |
T2 |
a vector indicating assignment to treatment 2 |
x |
matrix of mediator values in wide format |
y |
matrix of outcome outcomes in wide format |
coeff.est |
estimated coefficients of the mediation model |
nomissing.index |
index of complete cases |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.