num.variables {bnstruct} | R Documentation |
BNDataset
.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.
num.variables(x) ## S4 method for signature 'BNDataset' num.variables(x) ## S4 method for signature 'BNDataset' num.variables(x)
x |
a |
number of variables of the desired dataset.