search for: fuzzybreaks

Displaying 1 result from an estimated 1 matches for "fuzzybreaks".

2010 Mar 30
1
hist.default()$density
Dear developers, the current implementation of hist.default() calculates 'density' (and 'intensities') as dens <- counts/(n*h) where h has been calculated before as h <- diff(fuzzybreaks) which results in 'fuzzy' values for the density, see e.g. > tmp <- hist(1:10,breaks=c(-2.5,2.5,7.5,12.5),plot=FALSE) > print(tmp$density,digits=15) [1] 0.0399999920000016 0.1000000000000000 0.0600000000000000 Since hist.default()$breaks are not the fuzzy breaks used for the c...