I have two datasets and am trying to add a linear model based on one dataset (pesticide concentration by month) on top of a boxplot from the other dataset (pollinator mortality by month).
I've tried geom_boxplot(pollinator dataset)+ geom_point(pesticide dataset)+ geom_smooth(method=lm), but, as expected, got the error "Error: Discrete value supplied to continuous scale".