Rolling prediction in a data frame using dplyr and rollapply
Solution is great. However, how is it possible to show a coefficients and compute RMSE of the regression? I know that it is possible to compute coefficients without prediction, but I would like both in the same code.
Thanks in advance!