Displaying 1 result from an estimated 1 matches for "cnnew".
Did you mean:
c_new
2011 Sep 28
1
how to solve a simple discrete Bayesian Belief Network?
Can somebody save-me? Thanks in advance!
#R script:
#trying to find out how solve a discrete Bayesian Belief Network.
#option: using 'catnet' package
#BEGIN
library(catnet)
cnet <- cnNew(nodes = c("a", "b", "c"), cats = list(c("1", "2"),
c("1", "2"), c("1", "2")), parents = list(NULL, c(1), c(1,
2)), probs = list(c(0.2, 0.8), list(c(0.6, 0.4), c(0.4, 0.6)),
list(list(c(0.3, 0.7), c(0.7, 0.3)),...