powered by
This a synthetic data set used as a test case in the bnlearn package.
data(gaussian.test)
The gaussian.test data set contains seven normal (Gaussian) variables.
gaussian.test
# load the data and build the correct network from the model string. data(gaussian.test) res = empty.graph(names(gaussian.test)) modelstring(res) = "[A][B][E][G][C|A:B][D|B][F|A:D:E:G]" plot(res)
Run the code above in your browser using DataLab