get_vars: This is an an internal function called 'get_vars()'

Description Usage Arguments Value

Description

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.

Usage

1
get_vars(x, m, c_xy, c_my, y, mX, mM, mY)

Arguments

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.

Value

a list composed of one data frame and three vectors


ainaimi/trimediation documentation built on May 25, 2019, 2:24 p.m.