Q. In ggplot2, how do you customize the appearance of axis ticks?

  • (A) theme(axis.ticks = element_line(color = "red"))
  • (B) customize_ticks(color = "red")
  • (C) axis_ticks(color = "red")
  • (D) scale_x_continuous(ticks = "red")
πŸ’¬ Discuss
βœ… Correct Answer: (A) theme(axis.ticks = element_line(color = "red"))

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
133
Total Visits
πŸ“½οΈ
3 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
80%
Success Rate