The createbnFromData creates a Bayesian network from the datafile that
is supplied. The $x parameter of the datafile should contain the
actual data, while the $N component should contain the observation lengths.
createbnFromData(data, seed, debug = FALSE)The datafile as specified above.
Seed.
Switches debug mode on/off.
The possible outputs of a node are based on the unique values in the dataset. All unique values from a column (a random variable) are converted to possible outputs of the node in the BN.