I have a problem dealing with time series in R.
#--------------read data wb = loadWorkbook(\"Countries_Europe_Prices.xlsx\") df = readWorksheet(wb, sheet=\"Sh
Simpler solution:
y = dplyr::lead(y,1)