[R] ggplot2: "ndensity" and "density" parameters
Jay
josip.2000 at gmail.com
Sun Mar 27 21:19:43 CEST 2011
Hello,
if I want to compare the distributions of two datasets using ggplots,
how should I choose the density type?
More exactly, what assumptions and are behind the "ndensity" and
"density" parameters? And when should they be used?
See http://had.co.nz/ggplot2/stat_bin.html
While I understand that one is scaled and the other one is not, I do
not understand which one I should rely on. The distributions look very
different when I try both alternatives.
Thanks
More information about the R-help
mailing list