A

Admin • 833.24K Points
Coach

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

  • (A) scale_x_continuous(labels = category)
  • (B) theme(axis.text.x = element_text(labels = category))
  • (C) labs(x = category)
  • (D) scale_x_discrete(labels = category)
  • Correct Answer - Option(D)
  • Views: 24
  • Filed under category R Programming
  • Hashtags:

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.