powered by
Get the nodes of a gRaven domain
get.nodes(domain)
Character vector of node names.
name of gRaven domain
Peter J. Green, P.J.Green@bristol.ac.uk
Emulates function of the same name in the RHugin package by calls to gRain functions
RHugin
gRain
demo("chest",package="gRaven",echo=FALSE) get.nodes(chest) chest$states sapply(get.nodes(chest),function(x) get.parents(chest,x))
Run the code above in your browser using DataLab