Why You Should Vectorize Your Code in R This repo contains the code to compare the efficiency between vectorized operations and for-loops in R. Please visit my blog Talking Data Science, or Medium where the article was published in Towards Data Science to read the full article.