I have plotted a simple histogram using ggplot without using the binwidth attribute. However, I want to see the value of binwidth of my histogram.
set.seed(1234)
df <- data.frame(
sex=factor(rep(c("F", "M"), each=200)),
weight=round(c(rnorm(200, mean=55, sd=5), rnorm(200, mean=65, sd=5)))
)
head(df)
library(ggplot2)
ggplot(df, aes(x=weight)) + geom_histogram()
How can I view this value?
THanks