jtextor / dagitty

Graphical analysis of structural causal models / graphical causal models.
GNU General Public License v2.0
282 stars 46 forks source link

paths are not listed when there are more than one exposures. #43

Open ghost opened 3 years ago

ghost commented 3 years ago

For the path function, paths(), paths are returned null when there is more than one exposures. like the following shows:

$paths [1] "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" [40] "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" [79] "" "" "" "" "" ""

It works well if I set the exposure to only one of them.

Any idea how I can get around with this issue?