Function to ggplot through list of dataframes: add title

I have written a function to plot a list of dataframes. library(dplyr) library(tidyr) library(ggplot2) #function to plot each df in list func.plot <- function(x){ ggplot(data = x, aes(x = month)) + geom_line(aes(y = MFI, group = sample), color = "lightgrey", size = 0.5)+ geom_line(aes( y = mean), color = "red", size = 2) + theme_bw()+… Read More Function to ggplot through list of dataframes: add title