how to find the lag function in r what is the lag function for time series regression how to use lag function arithmetic how to use lm how to predict time series regression in r using a linear model r how to use lag function how to use lag function r r calculate lag function how do you find lag in r how to predict time series regression in r how to predict using a linear model in r what is the lag function for r how to predict using lm in r how to predict time series regression what is the lag function r what is the prediction function in r r predicts when using linear model how to predict regressions in r how to find the lag function in r r predict time series with na