Description Usage Arguments Value
This returns a dataframe from vectors for exposure, mediator, c_xy, c_my, and outcome as well as the individual vectors for exposure, mediator, and outcome. It also checks to see if there are NULL values forany of these and stops the program if any values are NULL.
1 | get_vars(x, m, c_xy, c_my, y, mX, mM, mY)
|
x |
: (datatype) Description of structure. What it represents. |
m |
: (datatype) Description of structure. What it represents. |
c_xy |
: (datatype) Description of structure. What it represents. |
c_my |
: (datatype) Description of structure. What it represents. |
y |
: (datatype) Description of structure. What it represents. |
mX |
: (datatype) Description of structure. What it represents. |
mM |
: (datatype) Description of structure. What it represents. |
mY |
: (datatype) Description of structure. What it represents. |
a list composed of one data frame and three vectors
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.