powered by
data(asia)
asia
D
yes
no
T
L
B
A
S
X
E
# load the data and build the correct network from the model string. data(asia) res = empty.graph(names(asia)) modelstring(res) = "[A][S][T|A][L|S][B|S][D|B:E][E|T:L][X|E]" plot(res)
Run the code above in your browser using DataLab