Sample R code to demonstrate the ecological fallacy.