as_bn {stagedtrees} | R Documentation |
Convert to a bnlearn object
Description
Convert a staged tree object into an object of class bn
from the bnlearn package.
Usage
as_bn(x)
## S3 method for class 'parentslist'
as_bn(x)
## S3 method for class 'sevt'
as_bn(x)
Arguments
x |
an R object of class |
Value
an object of class bn
from package bnlearn.
[Package stagedtrees version 2.3.0 Index]