From p.dalgaard@pubhealth.ku.dk  Mon Mar  5 14:59:37 2001
From: p.dalgaard@pubhealth.ku.dk (Peter Dalgaard BSA)
Date: 05 Mar 2001 15:59:37 +0100
Subject: [Rd] histogram of frequencies (PR#861)
In-Reply-To: bernd.winkler@genedata.com's message of "Mon, 5 Mar 2001 15:01:55 +0100 (MET)"
References: <200103051401.PAA28206@pubhealth.ku.dk>
Message-ID: <x2itlob6sm.fsf@blueberry.kubism.ku.dk>

bernd.winkler@genedata.com writes:

> The addition of the fuzz variable to the breaks causes hist 
> to think of no equidistant breaks (even if they are) and therefore 
> a density plot is generated by default. Removing these lines the 
> behaviour is like the one in version 1.2.1 and earlier. 
> Is there an alternative doing this with the new version?
> And what about the border color parameter in barplot?

Argh! This just goes to prove how hard it is to fix one bug without
introducing another.... 

The two types of fuzz in hist.default should not be of the same size! 
Try setting the multiplier in "diddle" to a smaller value, like 1e-12.
Either that or we should test for equidistant breaks before adding the
fuzz. 

It only happens with user-specified breaks, though, and the error
message with freq=T is of course ignorable.

-- 
   O__  ---- Peter Dalgaard             Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard@biostat.ku.dk)             FAX: (+45) 35327907
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel 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-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


[Rd] histogram of frequencies (PR#861)
Peter Dalgaard BSA