Re: [R] compute probabilities on a Bayesian Network (SOLVED)

2011-09-28 Thread Marcio Pupin Mello
I studied a little (I mean "a lot") and found out a solution. Then I decided to post here aiming to help people who are interested... The solution uses the "gRain" package... but because one dependence (the "graph" package) has been removed from the CRAN repository you have to use the follow scr

[R] compute probabilities on a Bayesian Network

2011-09-26 Thread Marcio Pupin Mello
Deal R Users, I'm trying to find out how can I compute probabilities on a Bayesian Network using R. The Bayesian Network I modelled is shown at http://www.dsr.inpe.br/~mello/1727/BNgrapmodel.png and I'd like to know how can I proceed (commands on R) to answer questions like: (1) what is the pr