Changing the x-axis labels of a ggplot histogram
问题 I have the following dataset (edited for readability): chol <- read.table(url("http://assets.datacamp.com/blog_assets/chol.txt"), header = TRUE) And I am creating a histogram of the data doing: ggplot(data=chol, aes(chol$AGE)) + geom_histogram() For a particular example I would like to change the x-labels however. Any thoughts on how I can pull this of? 回答1: To illustrate the answer (and better understand the question) a picture: > require(ggplot2) > chol <- read.table(url("http://assets