Learn R Programming

bnlearn (version 3.1)

gaussian.test: 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)

Arguments

format

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

Examples

Run this code
# 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