I don't understand this. Why not just get hist() to plot on the
density scale,
thereby making its output commensurate with the output of density()?
The hist() function will plot on the density scale if you ask it
to. Set freq=FALSE
(or prob=TRUE) in the call to hist.
ehrm... because i didn't realize that option existed :) that certainly
is easier than manually scaling hist output by NOBS - thanks for the tip!
______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.