I am looking to create a loop (if possible!) whereby this code:
ggplot(Sphere_Run1_Call_2019, aes(x=Time..Seconds.)) +
geom_line(aes(y = Accx), color = "darkred") +
geom_line(aes(y = Accy), color="steelblue", linetype="solid") +
geom_line(aes(y = Accz), color="green", linetype="solid") +
theme_classic() +
ggtitle("Run 1") +
xlab("Time (Seconds)") +
ylab("Acceleration (m/s2)")
is repeated through 9 more dataframes (Sphere_Run2_Call_2019, Sphere_Run3_Call_2019, etc...) to generate 10 graphs i can export.
is this possible in ggplot? and is Looping best in this instance?