clgaussian-test: Synthetic (mixed) data set to test learning algorithms

Description Usage Format Note Examples

Description

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

Usage

1

Format

The clgaussian.test data set contains one normal (Gaussian) variable, 4 discrete variables and 3 conditional Gaussian variables.

Note

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

Examples

1
2
3
4
5
# load the data and build the correct network from the model string.
data(clgaussian.test)
res = empty.graph(names(clgaussian.test))
modelstring(res) = "[A][B][C][H][D|A:H][F|B:C][E|B:D][G|A:D:E:F]"
plot(res)

jtrecenti/bnlearn documentation built on May 20, 2019, 3:16 a.m.