View source: R/map_query_to_nodal_type.R
add_dots | R Documentation |
Helper to fill in missing do operators in causal expression
add_dots(q, model)
q |
A character string. Causal query with at least one parent node missing their do operator. |
model |
A |
A causal query expression with all parents nodes set to either 0, 1 or wildcard '.'.
model <- make_model('X -> Y <- M')
CausalQueries:::add_dots('Y[X=1]', model)
CausalQueries:::add_dots('Y[]', model)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.