num.nodes<- {bnstruct} | R Documentation |
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).
num.nodes(x) <- value ## S4 replacement method for signature 'BN' num.nodes(x) <- value ## S4 replacement method for signature 'InferenceEngine' num.nodes(x) <- value
x |
an object. |
value |
the number of nodes in the object. |