Examples and exercises from "Bayesian Networks (With Examples in R)" by Marco Scutari & Jean-Baptiste Denis.