Skip to contents

A convenience wrapper for dagitty::dagitty().

Usage

dag(...)

Arguments

...

a character vector in the style of dagitty. See dagitty::dagitty for details.

Value

a dagitty

Examples

dag("{x m} -> y")
#> dag {
#> m
#> x
#> y
#> m -> y
#> x -> y
#> }