Helper to expand nodal expression
expand_nodal_expression(model, query, node, join_by = "|")
A nodal expression with no missing parents
A causal_model
. A model object generated by
make_model
.
A character string. An expression defining nodal types to
interrogate realise_outcomes
. An expression of the form
"Y[X=1]" asks for the value of Y when X is set to 1
A character string. The quoted name of a node.
A logical operator. Used to connect causal statements: AND ('&') or OR ('|'). Defaults to '|'.