interacts {CausalQueries} | R Documentation |
Make statement for any interaction
Description
Generate a statement for X1, X1 interact in the production of Y
Usage
interacts(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
Other statements:
complements()
,
decreasing()
,
increasing()
,
non_decreasing()
,
non_increasing()
,
substitutes()
,
te()
Examples
interacts('A', 'B', 'W')
get_query_types(model = make_model('X-> Y <- W'),
query = interacts('X', 'W', 'Y'), map = "causal_type")
[Package CausalQueries version 1.1.1 Index]