Tutorial: R Session 2: Sequent Peak
In this second R session, we work through the Sequent Peak method for sizing reservoirs. The example includes for loops and if statements; helpful if you would like to convert an iterative spreadsheet code to R. The example comes from Water Resource Systems Planning and Management by Loucks and Van Beek. The R code is available, and we suggest watching the first R session if you haven't already done so.
[video:https://youtu.be/sKlZNwAQ5Nk]