Coding

Readable R code

In my previous post, I talked about managing projects with Github and how crucial it is to make your work reproducible. While we craft our writings on paper to present the idea better, it is equally important to make our code readable for someone trying to understand the work. I listed here a few points on writing more explicit code, mostly from my own experience. Read more about good and bad R code style on Google’s R Style Guide.