Skip to contents

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

Usage

complements(X1, X2, Y)

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.

Value

A character statement of class statement

See also

Examples

# \donttest{
complements('A', 'B', 'W')
#> 
#> Statement: 
#> ((W[A =1, B = 1]) - (W[A = 0, B = 1])) > ((W[A =1, B = 0]) - (W[A = 0, B = 0]))
# }