R ifelse tripped me up

In the continuing saga of climbing the R learning curve, I just found a bug in older code. Although in hindsight I can’t see what on earth I was thinking. I have been using ifelse as sort of a replacement for case statements. ifelse is cool because if you have a list of things with […]

R. Struggle with it and it becomes clear.

Been using R almost exclusively for the past few weeks. I’ve always liked R, but I find that the syntax and style maddeningly slow to ingest. Perhaps everybody is like this, but I’ve found that some programming language idioms I take to pretty readily (JavaScript and Perl), some I hate (Java before generics and Spring […]