Brian Helsel
Christ follower, husband, father, Assistant Professor, #RStats developer, & physical activity epidemiologist focusing on Down syndrome and Alzheimer’s disease.
- R is a flexible programming language. You can even shape function syntax to resemble other languages. Here is an example of a ternary style operator with infix functions—the same logic as ifelse. Is this something you need? Probably not. But it is fun to explore these ideas within your code. #RStats
- One of my favorite parts of R is that there are many paths to the same result. A simple task can be written with a for loop, the apply family, purrr, vectorized base R, or even Rcpp. The real skill isn’t memorizing syntax—it’s knowing when to choose each option. #RStats