removeEdge: Remove an edge into/a parent to a node

Description Usage Arguments Value

View source: R/RemoveEdge.R

Description

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

Usage

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

Arguments

child

The index of the node to remove the parent from.

parent

The index of the node to remove as a parent.

params

For a multinomial noisy-or node, this is The new parameter 2 matrix. If NULL a weighted mutex matrix is created. For a dirichlet node, this is the new parameters matrix.

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.

network

The network

Value

The updated network


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