TidyX Episode 181 – Likert Scales & Planned Comparisons Function

This week, Ellis Hughes and I continue talking about ways to use for() loops and custom functions to speed up your work. Here, we take some data from the TidyTuesday project on coffee ratings. This data is based on a type of Likert scale where the respondents are scoring their coffee expertise from 0 to 10. The data is stratified by age groups. While there are a number of ways of analyzing Likert scale data (and a lot of disagreements), we felt this was just a useful data set to quickly grab and show how to leverage a for() loop to make comparisons in coffee expertise between age groups, using a t-test.

To watch the screen cast, CLICK HERE.

To access our code, CLICK HERE.