Skip to contents

Get the list of variables (with their names) of a BN or BNDataset.

Usage

variables(x)

# S4 method for BN
variables(x)

# S4 method for BNDataset
variables(x)

Arguments

x

an object.

Value

vector of the variables names of the desired object.