# Crosstabs and Pivot Tables in R

Learn about the pivot and cross tables and how to work with them.

## Create crosstabs in R

**Crosstabs**, also known as contingency tables, display the frequency or count of observations for each combination of two or more variables. Crosstabs are used to compare the relationship between different variables and to explore how the variables are related to each other.

Get hands-on with 1400+ tech skills courses.