node.sizes: get size of the variables of an object.

Description Usage Arguments Value

Description

Return a list containing the size of the variables of an object. It is 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)

## S4 method for signature 'BN'
node.sizes(x)

## S4 method for signature 'BNDataset'
node.sizes(x)

Arguments

x

an object.

Value

vector contaning the size of each variable of the desired object.


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