Bayesian Networks (With Examples in R)