a BNDataset object containing the dataset the network is built upon, if any. The remaining parameters
are considered only if a starting dataset is provided.
...
potential further arguments of methods.
Value
BN object.
Slots
name:
name of the network
num.nodes:
number of nodes in the network
variables:
names of the variables in the network
discreteness:
TRUE if variable is discrete, FALSE if variable is continue
node.sizes:
if variable i is discrete, node.sizes[i] contains the cardinality of i,
if i is instead discrete the value is the number of states variable i takes when discretized
cpts:
list of conditional probability tables of the network
dag:
adjacency matrix of the network
wpdag:
weighted partially dag
scoring.func:
scoring function used in structure learning (when performed)
struct.algo:
algorithm used in structure learning (when performed)
Details
The constructor may be invoked without parameters -- in this case an empty network will be created, and its slots will be filled manually by the user.
This is usually viable only if the user already has knowledge about the network structure.