The categorical variables goes in gf_facet_grid().
Based on a characteristic, a categorical variable value can be classified into a countable number of different categories. You can apply categories to a categorical variable, but there is no inherent order to the categories.
The most typical graph for displaying frequency distributions is a histogram. It closely resembles a bar chart.
You use it to split up histograms. Usually, the facets are described by an unnamed formula argument. We usually use this to show categorical variables.
eg) gf_histogram(~ Thumb, data = Fingers) %>%
gf_facet_grid(. ~ Sex)
So, we can say that categorical variables goes in gf_facet_grid().
To learn more about categorical variables, visit: https://brainly.com/question/13958764
#SPJ4