Factors with forcats Cheat Sheet

May 31, 2019

Factors are R’s data structure for categorical data. The forcats package makes it easy to work with factors. This cheatsheet reminds you how to make factors, reorder their levels, recode their values, and more. Updated 2/19.

Previous Flipbook
Tidy Evaluation with rlang Cheat Sheet
Tidy Evaluation with rlang Cheat Sheet

Tidy Evaluation (Tidy Eval) is a framework for doing non-standard evaluation in R that makes it easier to p...

Next Flipbook
Python with R and Reticulate Cheat Sheet
Python with R and Reticulate Cheat Sheet

The reticulate package provides a comprehensive set of tools for interoperability between Python and R.