Training Sets, Test Sets, R, and ggplot

How to evaluate regression model performance in R