data science

Tree diagrams in R

A tree diagram can effectively illustrate conditional probabilities. Let's build a dynamic one in R.