We discuss the difference between loops and vectorization in R and also how to benefit from vectorized operations.
An interactive version of the source material is available at https://colab.research.google.com/git....
More generally, the source material is available at https://github.com/jfrench/DataWrangl....