gaussian.test {bnlearn}R Documentation

Synthetic (continuous) data set to test learning algorithms

Description

This a synthetic data set used as a test case in the bnlearn package.

Usage

data(gaussian.test)

Format

The gaussian.test data set contains the seven normal (Gaussian) variables.

Note

The R script to generate data from this network is shipped in the ‘network.scripts’ directory of this package.

Examples

# 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)

[Package bnlearn version 1.7 Index]