Quantcast
Channel: Active questions tagged r - Stack Overflow
Viewing all articles
Browse latest Browse all 201867

combining Histogram bars in R

$
0
0

I'm trying to make a histogram using basic R. The histogram is doing a good job representing the data. However, I want to combine the few bars on the right-side(from 300,000+)enter image description here into one bar to represent their values.

hist(TotalIncomeRural$D21, breaks ="sturges", labels = TRUE,xaxt='n', ylim=c(0,1350), col = "red") axis(side=1, at=c(seq(0,1500000,100000)))

any help is very much appreciated.


Viewing all articles
Browse latest Browse all 201867

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>