variables-set.Rd
Set the list of variable names in a BN or BNDataset object.
BN
BNDataset
variables(x) <- value # S4 method for BN variables(x) <- value # S4 method for BNDataset variables(x) <- value
an object.
vector containing the variable names of the object. Overwrites num.nodes slot if non-matching.
num.nodes