Simple Linear Regression Analysis with lm() function in R How to apply regression analyses in time-series datasets