[R] Changing x-axis values displayed on histogram

jlwoodard john.woodard at wayne.edu
Tue Jul 10 21:34:04 CEST 2012

Is it possible to change the x-axis values in a histogram to reflect binned

Here are my data:


Now, I'll bin pairs of adjacent values together (e.g., 5-6, 7-8, 9-10,
11-12, 13-14, 15-16) using the following


The displayed x-axis values are 6, 8, 10, 12, 14, and 16.  I'd like the
x-axis values to reflect the values in each bin (e.g., 5-6, 7-8, 9-10,
11-12, 13-14, 15-16).  Any suggestions would be greatly appreciated!  Many
thanks in advance.


View this message in context: http://r.789695.n4.nabble.com/Changing-x-axis-values-displayed-on-histogram-tp4636032.html
Sent from the R help mailing list archive at Nabble.com.

More information about the R-help mailing list