Simple integer-valued histograms, for displaying count distributions.
simplehist( x , ylab="Frequency" , xlab="Count" , ycounts=TRUE , adjust=1 ,
lcol="black" , bins=NULL , show.counts=0 , xlim=NULL , ylim=NULL , ... )
Vector of values to construct histogram from
Label on vertical axis
Label on horizontal axis
?
Line color
Bins, defaults to zero and positive integers
?
Other parameters to pass to plotting functions.
This function constructs clean histograms for count data. It needs to be rewritten, though.
McElreath 2011, Statistical Rethinking.