checkEqVars: Check dependent variables in a equation

View source: R/multipleMediation.R

checkEqVarsR Documentation

Check dependent variables in a equation

Description

Check dependent variables in a equation

Usage

checkEqVars(eq)

Arguments

eq

A string of regression formula

Examples

eq="M2~X+M+X+X*M*W"
checkEqVars(eq)
eq="Y~M+W+M:W+X+W+X:W"
checkEqVars(eq)

processR documentation built on Jan. 23, 2023, 5:44 p.m.