addEdge: Add an edge into/a parent to a node

Description Usage Arguments Value

View source: R/AddEdge.R

Description

Add an edge into/a parent to a node. Node must be Noisy-Or or Dirichlet.

Usage

1
2
addEdge(net, child, parent, params, params2 = NULL, cn = NULL,
  deepUpdate = F, dropImages = F)

Arguments

net

The network.

child

The index of the node to add a parent to.

parent

The index of the node to add as a parent.

params

The new parameters for the child.

params2

The disambiguation parameters to use for the child. This is used only if the child is a multinomial noisy-or node. If the child is multinomial noisy-or and this is NULL a weighted mutex disambiguation matrix is created.

cn

A RODBC connection. Required if performing deep update.

deepUpdate

Specifies whether a deep update should be performed.

dropImages

Specifies if images should be dropped on a deepUpdate.

params

The parameters to add to the child for the parent.

Value

Updated network.


mickash/Adaptive-Bayesian-Networks documentation built on Nov. 14, 2019, 12:14 a.m.