Examveda
Examveda

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))

D. geom_boxplot(aes(x = group, y = value))

Answer: Option C


This Question Belongs to R Programming >> Data Visualization With Ggplot2

Join The Discussion

Related Questions on Data Visualization with ggplot2