View source: R/query_helpers.R
substitutes | R Documentation |
Generate a statement for X1, X1 substitute for each other in the production of Y
substitutes(X1, X2, Y)
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. |
A character statement of class statement
Other statements:
complements()
,
decreasing()
,
increasing()
,
interacts()
,
non_decreasing()
,
non_increasing()
,
te()
get_query_types(model = make_model('A -> B <- C'),
query = substitutes('A', 'C', 'B'),map = "causal_type")
query_model(model = make_model('A -> B <- C'),
queries = substitutes('A', 'C', 'B'),
using = 'parameters')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.