Category: R


The unintended trap in bracket subsetting in R

Reading time: 3 minutes The silent [and maybe mortal?] trap in bracket subsetting. Dear reader, It should be clear to you that, as several other programming languages, R provides different ways to tackle the same problem. One common problem in data analysis is to subset your data frame and, as Google can show you, there are several blog posts …