I can create a loess line in R, based on a column of dates and a second column of values. Having loaded the dataset, I visualise one column of data below:
scatter.smooth(x=1:length(goals$Value), y=goals$Value)
However, how do I add multiple loess lines for additional columns? What would be the code to plot all the loess lines in one graphic? Say, each additional column is named Value2, Value3, Value4 etc.