Monthly Archives: July, 2016

Enjoy R: is my x included in these bounds?

How many times have you written code like the following? if(x > lower_bound & x < upper_bound) return(T)  return(F) Throughout my coding experience so far, I’ve faced that a lot. And everytime this happened, I started thinking that I was not really writing it in the same way as I would have written it using basic …

Continue reading