Q5
How do you create a bar plot in ggplot2 for a categorical variable named category and its counts?
A.
geom_bar(x = category, y = count)
B.
geom_bar(mapping = aes(x = category, y = count))
C.
geom_bar(aes(x = category, y = count))
AnswerD.
bar_plot(category, count)
Answer: Option C
Solution
Answer: Option C
No explanation is given for this question Let's Discuss on Board