View source: R/MED.output_helper.R
getMED.output | R Documentation |
This function computes and returns a data frame containing point estimates and standard errors for the parameters of a longitudinal mediation model.
getMED.output(model, y_var, m_var, x_type, x_var, curveFun, names)
model |
An object representing a fitted longitudinal mediation model. |
y_var |
A string specifying the prefix of the column names corresponding to the outcome variable at each study wave.
It takes the value passed from |
m_var |
A string specifying the prefix of the column names corresponding to the mediator variable at each study wave.
It takes the value passed from |
x_type |
A string indicating the type of predictor variable used in the model. Supported values are |
x_var |
A string specifying the baseline predictor if |
curveFun |
A string specifying the functional form of the growth curve. Supported options include: |
names |
A character vector specifying parameter names. It takes the value passed from |
A data frame containing the point estimates and standard errors for parameters of a longitudinal mediation model.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.