Skip to content
Prev 79852 / 398502 Next

help:simple bin problem histogram

sp219 wrote:
Hi Simon,

I didn't see a reply, but I think you want to use "breaks"

x<-sample(1:100,200,TRUE)
hist(x)
hist(x,breaks=seq(0,100,by=20))

Jim