R code and associated files for my chapters in the book Tracking Environmental Change Using Lake Sediments, Volume 5: Data Handling and Numerical Techniques