Skip to contents

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

num.variables(x)

# S4 method for BNDataset
num.variables(x)

# S4 method for BNDataset
num.variables(x)

Arguments

x

a BNDataset object.

Value

number of variables of the desired dataset.

See also