Vidyalelo
R Programming · Q10

Data Visualization with ggplot2

Programming · R Programming · question 10

Q10

How do you create a boxplot in ggplot2 for a numerical variable named value grouped by a factor variable group?

A.
geom_boxplot(x = group, y = value)
B.
box_plot(group, value)
C.
geom_boxplot(mapping = aes(x = group, y = value))
Answer
D.
geom_boxplot(aes(x = group, y = value))

Answer: Option C

Solution

Answer: Option C
No explanation is given for this question Let's Discuss on Board