MakeArcSet: Take a learned Bayesian network structure (bnlearn object)...

Description Usage Arguments Value

View source: R/functions.R

Description

Take a learned Bayesian network structure (bnlearn object) and returns a data frame in which each row represents a pair of nodes conected in the network. This function is used to retrieve the arcs from the network.

Usage

1

Arguments

bn

Bnlearn object Bayesian network

data

data.frame from which the Bayesian network structure is learned.

Value

arc_set a data.frame with two columns. First column shows the regulators, second column shows the targets.


HamdaBinteAjmal/DBN4GRN documentation built on Dec. 27, 2021, 2:08 p.m.