How to plot histogram and density of values in the same plot and same levels: that is that density plot should be as "high" as histogram
library(ggplot2)
LONG <- c(runif(20000,-10.8544921875,-9.021484375))
LONG = data.frame(LONG)
ggplot(LONG, aes(LONG, ..count..)) + geom_histogram(fill = "steelblue") +
geom_density()
Is not working and density is much more bigger than I want it to be