Robust causal inference using directed acyclic graphs: the R package 'dagitty'.