[R] Normal behavior or bug?
feldesmanm at pdx.edu
Sat Mar 23 20:07:30 CET 2002
>selectiris<-sample(1:5, 150, replace=T)
> hist(selectiris, plot=TRUE) #freq=TRUE, breaks=5, etc all do the same thing
Is the behavior of "hist" in this sample of code correct. On my system
(Windows 2K, SP2) the first and second bars are pushed together, while the
3rd, 4th, and 5th bars are correctly positioned.
The function "truehist" gives the correct representation of the data.
Am I missing an option in hist or is there a bug?
This appears in 1.4.1 as well as the "unstable" version 1.5.0.
system x86, Win32
Dr. Marc R. Feldesman
Professor and Chairman
Portland State University
1721 SW Broadway
Portland, Oregon 97201
email: feldesmanm at pdx.edu
PGP Key Available On Request
"Beyond every credibility gap lies a gullibility fill"
Powered by Latochoerus and Windows 2000, SP1
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