I am new to R and was wondering if there was a way I can simplify my code using an apply function.
In my datafram there are 15 columns - y, a, b, c, d, e, f, g, h, i, j .... o
Instead of:
plot (y~a)
plot (y~b)
.
.
.
plot (y~o)
Is it possible to simplify using an apply function or some other method to enact "plot" over mutiple columns?