Monthly Archives: January 2019

How to Vectorize a Function in R

Last year I came across the base R function Vectorize(). Vectorize() vectorizes the action of a non-vectorized function. Let's give an example. In one of my current research projects, I need to hash patient ids to fulfill the requirements of … Continue reading

Posted in Tips & Tricks | Tagged , , | Leave a comment