# NOT RUN {
# load the data.
data(lizards)
# create and plot the network structure.
dag = model2network("[Species][Diameter|Species][Height|Species]")
# }
# NOT RUN {
graphviz.plot(dag, shape = "ellipse")
# }
# NOT RUN {
# This data set is useful as it offers nominal values for
# the conditional mutual information and X^2 tests.
ci.test("Height", "Diameter", "Species", test = "mi", data = lizards)
ci.test("Height", "Diameter", "Species", test = "x2", data = lizards)
# }
Run the code above in your browser using DataLab