Apply Functions Cheat Sheet

May 31, 2019

The purrr package makes it easy to work with lists and functions. This cheatsheet will remind you how to manipulate lists with purrr as well as how to apply functions iteratively to each element of a list or vector. The back of the cheatsheet explains how to work with list-columns. With list columns, you can use a simple data frame to organize any collection of objects in R. Updated 09/17.

Previous Flipbook
Data Import Cheat Sheet
Data Import Cheat Sheet

The Data Import cheat sheet reminds you how to read in flat files with the readr package and work with the ...

Next Flipbook
Work with Strings Cheat Sheet
Work with Strings Cheat Sheet

The stringr package provides an easy to use toolkit for working with strings, i.e. character data, in R.