vectorization

Speed Test: Sapply vs. Vectorization

The apply functions in R are awesome (see this post for some lesser known apply functions). However, if you can…

6 years ago

How to build a logistic regression model from scratch in R

Background In a previous post, we showed how using vectorization in R can vastly speed up fuzzy matching. Here, we…

6 years ago