makeEquation1: Make mediation equations 1
Description
Make mediation equations 1
Usage
makeEquation1(X, M, stage = 1, start = 0, add2ndMediation = TRUE)
Arguments
- X
A character vectors indicating independent variables
- M
A character vectors indicating mediators
- stage
An integer indicating the order
- start
An integer
- add2ndMediation
whether or not make a secondmediation equation