1

In ggplot2, how do you customize the x-axis labels for a categorical variable category?

Correct Answer: scale_x_discrete(labels = category)

Make the most of this question

This page focuses on one R Programming MCQs question from Programming. After checking the answer, return to the topic list to practice more or run a timed set.

R Programming MCQs MCQ: In ggplot2, how do you customize the x-axis labels for a categorical variable category? | Extra Education