I use the following code to get an histogram.
plt <- ggplot(iris, aes(x = Sepal.Length)) +
geom_histogram(aes(y = ..density..))
I'm not sure what I get with this code. I thinks that the density option inside the function geom_histogram() is used to obtain that the histogram is a density distribution, but how can I verify this? How NA are handled? Thanks
