Re: [R] how to specify bin width in hist()

2007-10-04 Thread Abu Naser
Thanks Jim for your response. I will use constant bin width. One more question: Is there anyway I can 2d or 3d histogram calculation/count? With regards, Abu __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do

Re: [R] how to specify bin width in hist()

2007-10-04 Thread Jim Lemon
Abu Naser wrote: > Hi all user, > > I have been wondering how the bin width can be specified in hist(). Hi Abu, If you want constant bin widths (e.g. from 0 to 10), it's easy: my.bin.width<-2 hist(...,breaks=seq(0,10,by=my.bin.width),...) and the "by" argument is your width. If you want comple

[R] how to specify bin width in hist()

2007-10-04 Thread Abu Naser
Hi all user, I have been wondering how the bin width can be specified in hist(). Thanks in advance, Abu _ Get free emoticon packs and customisation from Windows Live. __ R-help@r-projec