powered by
Plot your dag using 'dagitty'
plot_dag(model)
A causal_model. A model object generated by make_model.
causal_model
make_model
No return value.
# NOT RUN { model <- make_model('X -> K -> Y; X -> Y') CausalQueries:::plot_dag(model) model <- CausalQueries:::make_model('X -> K -> Y; X <-> Y') CausalQueries:::plot_dag(model) # } # NOT RUN { # }
Run the code above in your browser using DataLab