Skip to content

Using the microbenchmark package in R to compare the efficiency between vectorized operations and for-loops.

Notifications You must be signed in to change notification settings

TalkingDataScience/why_vectorize

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

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.

About

Using the microbenchmark package in R to compare the efficiency between vectorized operations and for-loops.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages