'Explore the levels of a categorical variable in a dataset

I am exploring in Rstudio a dataset about sells (continuous var.) of several fish species (categorical var.). Is there any function that summarizes all the avaliable levels of a categorical variable without having to scroll down the whole dataset?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source