Using ggplot2 for histograms

Using the package ggplot2, what is the code needed to change the individual x axis labels from numbers to words ?

about half way down there are examples e.g.

p1 + scale_x_continuous(
  breaks = c(2, 4, 6),
  label = c("two", "four", "six")

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.