In this blog post, I show you how to reshape data (i.e. how to use pivot tables) so that the data are in the correct form for data analysis in R.
Here I describe the functions called `grep()`, `grepl()`, and `sub()`, which allow you to find strings in your data that match particular patterns.
Here I show you a useful family of functions that allows you to repetitively perform a specified function (e.g., sum, mean) across a vector, matrix, or data frame.