powered by
If confounds are indicated (provided in attr(model$P, 'confounds')), then these are represented as bidirectional arcs.
attr(model$P, 'confounds')
translate_dagitty(model)
A causal_model. A model object generated by make_model.
causal_model
make_model
A dagitty translation of DAG
dagitty
DAG
# NOT RUN { model <- make_model('X -> Y') CausalQueries:::translate_dagitty(model) # } # NOT RUN { # }
Run the code above in your browser using DataLab