as_bn: 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 parentslist
as_bn(x)
# S3 method for sevt
as_bn(x)
Value
an object of class bn
from package bnlearn.
Arguments
- x
an R object of class sevt
or parentslist
.