Learn R Programming

CausalQueries (version 1.1.0)

complements: Make statement for complements

Description

Generate a statement for X1, X1 complement each other in the production of Y

Usage

complements(X1, X2, Y)

Value

A character statement of class statement

Arguments

X1

A character. The quoted name of the input node 1.

X2

A character. The quoted name of the input node 2.

Y

A character. The quoted name of the outcome node.

See Also

Other statements: decreasing(), increasing(), interacts(), non_decreasing(), non_increasing(), substitutes(), te()

Examples

Run this code
# \donttest{
complements('A', 'B', 'W')
# }

Run the code above in your browser using DataLab