Creating frequency data summaries in R
With the concepts we have studied so far, I believe that you will already have a sense of the relevance of a frequency table. As a data scientist, you will be expected to create a frequency table on many occasions to gain a greater understanding of data and to know what is happening more frequently.
We already know that histograms and bar plots are great ways to visualize frequencies, but graphics do not always show numbers – due to lack of space or just because they have not been set up that way. As such, a frequency table can come handy, especially if you want to see the top 5 or top 10 items with a little more background than just the pure graphic.
Even though we can create frequency tables for numeric variables, it is not very common – nor useful, depending on the amount of data – because you will be counting a lot of unique observations. Frequency tables are more related to categorical data; therefore, we are covering...