get.nodes | R Documentation |
Get the nodes of a gRaven domain
get.nodes(domain)
domain |
name of gRaven domain |
Emulates function of the same name in the RHugin
package by calls to gRain
functions
Character vector of node names.
Peter J. Green, P.J.Green@bristol.ac.uk
demo("chest",package="gRaven",echo=FALSE)
get.nodes(chest)
chest$states
sapply(get.nodes(chest),function(x) get.parents(chest,x))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.