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.
1 2 3 4 5 6 7 | node.sizes(x) <- value
## S4 replacement method for signature 'BN'
node.sizes(x) <- value
## S4 replacement method for signature 'BNDataset'
node.sizes(x) <- value
|
x |
an object. |
value |
vector contaning the size of each variable of the object. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.