removeNode: Remove node from network

Description Usage Arguments Value

View source: R/RemoveNode.R

Description

Remove node from network. Only childless nodes can be removed. To remove nodes with children, either remove edges into the node's children (if the children are Noisy-Or or Dirichlet) or remove the children. If a layout matrix exists, the row corresponding to the removed node will also be removed. NB: A deep update must be performed on a network with a DB backend

Usage

1
removeNode(net, index, cn = NULL, deepUpdate = F, dropImages = F)

Arguments

net

the current network

index

The index of the node to remove.

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.

Value

Network with node removed.


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