[R] breaks in hist()
M. Edward (Ed) Borasky
znmeb at aracnet.com
Tue Jun 26 21:55:20 CEST 2001
On Tue, 26 Jun 2001, Maarten van Gelder wrote:
> I was using the hist() function to create a frequency table of some network
> traffic data. The range in values is rather large, from 0 till just under
> 10e12. Calling hist(x, breaks=c(0,1000,1e6,1e9,1e12),plot=F,freq=T) causes
> hist() to return :
>
> $breaks
> [1] -1.0000e+05 1.0100e+05 1.1000e+06 1.0001e+09 1.0000e+12
>
> Is this recalculation of the breaks by hist() intended?
>
> Maarten van Gelder.
How many zeroes are there? If you got rid of them, a log transformation might
help you. Also, have you considered looking at the distribution of the times
between packets (or bytes)?? There are some interesting theoretical models
for the distributions of times between packets. I've got a few books on the
subject, but they're at home. E-mail me off list if you're interested.
--
znmeb at aracnet.com (M. Edward Borasky) http://www.aracnet.com/~znmeb
How to Stop A Folksinger Cold # 4
"Are you going to Scarborough Fair?"
No.
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
More information about the R-help
mailing list