https://moshemilevsky.com/r-scripts-algorithms-and-slides/
