This function takes a DAG with edgeweights as input and computes the causal effects of all nodes on all direct and indirect children in the DAG. Alternatively see pcalg::causalEffect for pairwise computation.
trueEffects(g, partial = FALSE)
graphNEL object
if FALSE computes the total causal effects and not just the partial edge effects
matrix of causal effects