Skip to content
Prev 299242 / 398503 Next

Histogram

Hello,

With the confusion between bin size and width the OP started, I'll 
repost my answer with a final line. Sorry for the repetition.


h <- hist(x, breaks=quantile(x, probs=seq(0, 1, by=1/20)))
h$counts
[1] 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50


Hope this helps,

Rui Barradas

Em 05-07-2012 20:47, Sarah Goslee escreveu: