• Came to this article because of the subject line and hoping to learn more about what R is and how to use it. But with only a small snippet of code being shown, I didn't learn anything except that there is some function called chi-squared. Perhaps you could link to some background reference material with more info about R itself?