From this linkEXCEL FILE
I wrote that code
geom_histogram(col="black", aes(fill=RPRO), bins=20)+
And got that nice histogram:
So the question is: for several reasons, sometimes I prefer working with default Rstudio histograms, and I think I know how to do that, except I don't know how to colour by reproductive status, so that's what I am getting
hist(manze$DAGE, breaks = 30, prob=T, col="grey")
lines(density(manze$DAGE), col="blue", lwd=3)
So; how to colour by reproductive status adding an order to this second syntax?
Many thanks and kind regards.