Skip to Main Content

To access Safari eBooks,

ContinueClose

R Studio guide

Frequency Table

A frequency table shows the distribution of observations based on the options in a variable. Frequency tables are helpful to understand which options occur more or less often in the dataset. This is helpful for getting a better understanding of each variable and deciding if variables need to be recoded or not. There is no formula for a frequency table since it reports the count of each option in a variable.

 

Below is the code for the frequency distribution for the variable language in the SLID dataset.