variables: get variables of an object.
Description
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)
Value
vector of the variables names of the desired object.