Given a DAG with multiple adjustment sets, find all the common nodes.

find_common_confounders(dag, type_mas, type_effect)

Arguments

dag

A dagitty object.

type_mas

The type of adjustment set. A string.

type_effect

The type of effect to be estimated. A string.

Value

The list of common nodes. A list.