R code and documents for a simple probabilistic reasoning app.