Skip to content
Prev 15125 / 63421 Next

hist() error when prob=NULL (PR#7682)

According to the help page, freq and prob are logical, so this is 
correctly an error.

What it actually does is

         freq <- if (!missing(probability)) !as.logical(probability)

which is consistent with the documentation.
On Thu, 10 Feb 2005 tomhopper@comcast.net wrote: