R

Personnal coding rules in R

Note: the following post is supposed to be updated regularly Style guides Some references are unavoidable, the Hadley’s style guide, the Google’s R style guide, and also The R Inferno by Patrick Burns As Hadley wrote, the most important is to have a consistent and clear style. Notations Starting with variable, choices doesn’t really matters. I use this style of notation:

GOOD variableName # camelCasing style variable_Name # Not that good (personnal taste) variable.