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