Using the varband package
Data simulation | Estimating $L$ with a fixed tuning parameter | Computing estimators along the a tuning parameter path | Selecting the tuning parameter