tutorial

How to reshape your data in R for analysis

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.

Search through your ecological data with the 'grep()' function

Here I describe the functions called `grep()`, `grepl()`, and `sub()`, which allow you to find strings in your data that match particular patterns.

Complete tutorial on using 'apply' functions in R

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.