Hi,
I am new to facet wraps and managed to make a nice distribution plot with our fish size data.
But, even though ggplot shows me a combined histogram with the counts (max 25 individuals),
facet_wrap converts it to percentages?
Can someone help me understand and fix this? The different "scales" options did not fix it.
My code is (latin is the species):
p<- ggplot(data, aes(x = length_mm, fill = latin)) +
geom_histogram( binwidth=0.5, color="black", fill="black")
p+ facet_wrap(~latin , scales = "fixed")+
ylab(NULL)+ # remove the word "count"
theme( strip.background = element_blank(),
strip.text.x = element_text(face = "italic"),
legend.position="none"
)
Thank you!!
~MD