Description Usage Format Details Examples
"env.concurrent" is an R environment containing the data generated from a concurrent mediation model.
1 | data("env.concurrent")
|
An R environment
Z
a n\times T data matrix, treatment trajectory of n subjects for T time points.
M
a n\times T data matrix, mediator trajectory of n subjects for T time points.
Y
a n\times T data matrix, outcome trajectory of n subjects for T time points.
alpha
a length T vector model coefficient.
beta
a length T vector model coefficient.
gamma
a length T vector model coefficient.
The data was generated from the concurrent mediation model
M(t)=Z(t)α(t)+ε_{1}(t),
R(t)=Z(t)γ(t)+M(t)β(t)+ε_{2}(t).
Z(t) is the convolution of hemodynamic response function (HRF) and event onsets.
1 2 3 4 | data(env.concurrent)
Z<-get("Z",env.concurrent)
M<-get("M",env.concurrent)
Y<-get("Y",env.concurrent)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.