How to Calculate Confidence and Prediction Intervals for Regression in R