Im relatively new to R so please try to explain in a easy way to understand.
My problem: I´ve written a script with a hell lot of scatterplots. I forgot to think about which variable i want on the x- and y-axis. Is there a way to switch the axes on multiple plots?
All plots where created in a way like the following:
plotR1R3 <- ggplot(df_SGBS, aes(x=R1,y=R3))+
geom_smooth(method="lm", formula = y~x, se=FALSE)