powered by
Add or delete a directed edge from one or more parents.
add.edge(domain, child, parent) delete.edge(domain, child, parent)
a NULL value is invisibly returned.
name of a gRaven domain
a character string containing the name of the child node.
a character string specifying by name the parent nodes
Deleting an edge nullifies the CPT for node n, if any.
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.setup,package="gRaven") chest delete.edge(chest,"tub","asia") add.edge(chest,"bronc","asia") chest
Run the code above in your browser using DataLab