When I try to visualize my integer data with histogram(mydata,breaks=c(0,n)), R usually doesnt care about how many breaks (usually 1 bar for each sample) do I use and it plots n-1 bars (first two bars are summed into one).
In most cases I use barplot(table(mydata))
And there is one more way to do it How to separate the two leftmost bins of a histogram in R but I think its not "clear" way.
So how do you visualize frequency of your integer data? Which one is right?
Thank you a lot