Exercise: Lag Column - Solution

Solution to an e-learning course exercise. Create a vector of past samples and visualize the time series together with its lagged values.


This is a companion discussion topic for the original entry at https://kni.me/w/0u27pCfcurRL3T5Y