get_parents_list: Derive parents list from bnlearn graph for use in...

Description Usage Arguments Value

View source: R/utils.R

Description

Derive parents list from bnlearn graph for use in compute_BGe_score.

Usage

1
get_parents_list(bn_graph)

Arguments

bn_graph

object of class "bn" representing a bnlearn graph

Value

List of parents for each node, where the nodes are indexed from zero.


igbucur/BFCS documentation built on Oct. 20, 2020, 7:39 a.m.