Ranked bar chart of the posterior probability of each candidate DAG from a structure search. If the true (data-generating) DAG is supplied, its bar is highlighted.
Arguments
- result
A DiscoveryResult (from
KaguModel$discover()).- top_n
Integer - number of top-ranked DAGs to display (default 20).
- true_dag
Optional DAG specification to highlight (matched by its set of directed edges).