I'm trying to combine a bar plot and line plot in ggplot using continuous and categorical variables. I basically need to do something like this:
So far I've got this code:
ggplot(data=nutrients, aes(x=Plot, y=Level, fill=Factor)) +
geom_bar(stat="identity", position = 'dodge', colour="black")