Description Usage Format Note Examples
This a synthetic data set used as a test case in the bnlearn package.
1 |
The gaussian.test
data set contains seven normal
(Gaussian) variables.
The R script to generate data from this network is shipped in the ‘network.scripts’ directory of this package.
1 2 3 4 5 | # 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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.