I have this line of code:
ggplot(data=AB2, aes(AB2$logbm)) +
geom_histogram(breaks=seq(-1.5, 2.5, by=((max(AB2$logbm)-min(AB2$logbm))/7)))
You can do this, though not sure why you would want to, by using
..count.. in the
ggplot(AB2, aes(x = logbm)) + scale_y_log10() + geom_histogram(aes(y = ..count.. * 1.25 / 60))
NB no need to reference the data.frame in the aes.