get.nodes {gRaven} | R Documentation |
Get the nodes of a gRaven domain
Description
Get the nodes of a gRaven domain
Usage
get.nodes(domain)
Arguments
domain |
name of gRaven domain |
Details
Emulates function of the same name in the RHugin
package by calls to gRain
functions
Value
Character vector of node names.
Author(s)
Peter J. Green, P.J.Green@bristol.ac.uk
Examples
demo("chest",package="gRaven",echo=FALSE)
get.nodes(chest)
chest$states
sapply(get.nodes(chest),function(x) get.parents(chest,x))
[Package gRaven version 1.1.8 Index]