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
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.

Next Flipbook
Package Development Cheat Sheet
Package Development Cheat Sheet

The devtools package makes it easy to build your own R packages, and packages make it easy to share your R ...