[Rd] Problem with hist(x, prob=T) (PR#947)

ripley@stats.ox.ac.uk ripley@stats.ox.ac.uk
Thu, 24 May 2001 08:23:48 +0200 (MET DST)


On Thu, 24 May 2001 rpeng@stat.ucla.edu wrote:

> Full_Name: Roger Peng
> Version: 1.2.3
> OS: Linux
> Submission from: (NULL) (128.97.86.109)
> 
> 
> In R version 1.2.3, the hist command does not respond to the probability=TRUE
> parameter.  So 
> 
> hist(x, probability=FALSE) 
> 
> and 
> 
> hist(x, probability=TRUE) 
> 
> produce the same (graphical) output.

This is bug PR# 944, already fixed in R-devel when that was reported.
Use `freq' instaed for now.

You can search R-bugs to see if the problem has already been reported.

-- 
Brian D. Ripley,                  ripley@stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272860 (secr)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595


-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._