Skip to contents

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

num.nodes(x) <- value

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

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

Arguments

x

an object.

value

the number of nodes in the object.