I have a list of 12 dataframes:
[1] X2016_kvish_1_10t
[2] X2015_kvish_1_10t
[3] X2014_kvish_1_10t
[4] X2013_kvish_1_10t
[5] X2012_kvish_1_10t
[6] X2011_kvish_1_10t
# with 6 more ...
and I want to plot them with the multiplot
function (ggplot2).
for example, this is a single plot:
ggplot(data = X2015_kvish_1_10t) +
geom_line(mapping = aes(
x = date, y = X2015_kvish_1_10t$nefah), colour = "blue") +
ylab("Traffic Counts (quantity)")+ ggtitle("Traffic Counts")+
geom_point(mapping = aes(
x = date, y = X2015_kvish_1_10t$day_mean , color = "blue"))
how can I plot them together so I can see the 12 at the same time and I won't need to write the same functions 12 times ?