node.sizes-set: set the size of variables of an object.

Description Usage Arguments

Description

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.

Usage

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

Arguments

x

an object.

value

vector contaning the size of each variable of the object.


tavazzie/bnstructScore documentation built on Dec. 23, 2021, 7:47 a.m.