as.graphNEL: Conversion into 'graphNEL' class

Description Usage Arguments Value See Also Examples

View source: R/cibn.r

Description

Convert an object of class cibn into an object of class graphNEL.

Usage

1
as.graphNEL(x, full=FALSE)

Arguments

x

An object of class cibn.

full

Logical value indicating whether the full DAG (i.e., augmented with latent causes and auxiliary nodes implied by the CID) should be considered. If FALSE (the default), the DAG before the CID is considered.

Value

An object of class graphNEL.

See Also

new.cibn.

Examples

1
2
3
4
5
data(bankrisk_code)
bankrisk_bn <- new.cibn(bankrisk_code)
#
G <- as.graphNEL(bankrisk_bn)
G

alessandromagrini/cibn documentation built on Feb. 7, 2022, 10:55 p.m.