powered by
This a synthetic data set used as a test case in the bnlearn package.
data(learning.test)
The learning.test data set contains the following variables:
learning.test
A, a three-level factor with levels a, b and c.
A
a
b
c
B, a three-level factor with levels a, b and c.
B
C, a three-level factor with levels a, b and c.
C
D, a three-level factor with levels a, b and c.
D
E, a three-level factor with levels a, b and c.
E
F, a two-level factor with levels a and b.
F
# NOT RUN { # load the data. data(learning.test) # create and plot the network structure. dag = model2network("[A][C][F][B|A][D|A:C][E|B:F]") # } # NOT RUN { graphviz.plot(dag) # }
Run the code above in your browser using DataLab