num.nodes-set: set number of nodes of an object.

Description Usage Arguments

Description

Set the number of nodes of an object of type BN (number of nodes of the network) or InferenceEngine (where parameter contains the number of nodes of the junction tree).

Usage

1
2
3
4
5
6
7
num.nodes(x) <- value

## S4 replacement method for signature 'BN'
num.nodes(x) <- value

## S4 replacement method for signature 'InferenceEngine'
num.nodes(x) <- value

Arguments

x

an object.

value

the number of nodes in the object.


bnstruct documentation built on July 2, 2020, 2:26 a.m.