markovblanket.bnet: Markov blanket of a bnet object

Description Usage Arguments Value Examples

Description

Markov blanket of a bnet object

Usage

1
markovblanket.bnet(object, nodes)

Arguments

object

a bnet object

nodes

a vector of nodes of object

Value

a vector with the markov blanket of the nodes in nodes

Examples

1
2
3
4
5
6
7
## Not run: data(asia,package="bnlearn")
bn<-bnlearn::hc(asia)
bnet<-bn_to_bnet(bn)
plot(bnet)
summary(bnet)
markovblanket.bnet(bnet,names(asia)[1])
## End(Not run)

gherardovarando/Rbnet documentation built on May 17, 2019, 4:18 a.m.