Apply Functions

Why you should use vapply in R

In this post we'll cover the vapply function in R. vapply is generally lesser known than the more popular sapply,…

4 years ago

mapply and Map in R

An older post on this blog talked about several alternative base apply functions. This post will talk about how to…

5 years ago

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

Those “other” apply functions…

So you know lapply, sapply, and apply...but...what about rapply, vapply, or eapply? These are generally a little less known as…

6 years ago