Skip to contents

Outputs the relevant subnetwork of the Bayesian network given the evidence

Usage

get.allAncestors(dag, A)

Arguments

dag

DAG as permutation matrix

A

vector containing the evidence nodes (order: 1 instead of "A")

Value

relevant DAG