Does + coord_flip() do what you need, or am I misunderstanding your question? For example, say we want the regression model mpg ~ hp, but we want mpg on the x-axis and hp on the y-axis. We could do:
ggplot(mtcars, aes(hp, mpg, colour=factor(vs))) +
geom_smooth() +
coord_flip()
