Set the size of the variables of a BN or BNDataset object. It represents the actual cardinality of discrete variables, and the cardinality of the discretized variable for continuous variables.
node.sizes(x) <- value# S4 method for BN
node.sizes(x) <- value
# S4 method for BNDataset
node.sizes(x) <- value
an object.
vector contaning the size of each variable of the object.