I've run this code. Giving the results displayed. I now want to add count numbers for each individual category of each stacked bar.
dat$SU<-as.factor(dat$SU)
#INVENTORY PER SU
ggplot(dat, aes(x=SU,fill=factor(SCIENTIFIC_NAME)))+
geom_bar(width=0.5)+xlab("Sampling Unit (SU)")+
ylab("Count")+labs(fill="SCIENTIFIC NAME")+
ggtitle("Inventory per sampling unit (SU) by species")+
scale_x_discrete(breaks=c(1,2,3,4,5,6,7,8,10,11,15))