Looking for the x axis values ββto be plotted in the center of the rods in R.
Having trouble finding a way to make this possible, the code below:
hist(sample_avg, breaks =7, ylim=c(0,2000), main = 'Histogram of Sample Average for 1 Coin Flip', xlab= 'Sample Average')
This is easy for a flip coin, so I have 6 possible values ββand you want to have 6 buckets with x-axis marks under each corresponding panel.
Any help is greatly appreciated.
r
ShortMyCDS
source share