num.variables: get number of variables of a 'BNDataset'.

Description Usage Arguments Value See Also

Description

Return the number of the variables contained in a dataset. This value corresponds to the value of num.nodes of a network built upon the same dataset.

Usage

1
2
3
4
5
6
7
num.variables(x)

## S4 method for signature 'BNDataset'
num.variables(x)

## S4 method for signature 'BNDataset'
num.variables(x)

Arguments

x

a BNDataset object.

Value

number of variables of the desired dataset.

See Also

num.nodes


bnstruct documentation built on July 2, 2020, 2:26 a.m.