Instructions
Modularize and generalize your code into separate but interacting sections.
Keep three primary goals in mind:
Making the code more robust ("bullet-proof"), so that future users are less prone to making unseen or hard-to-trace errors
Making the code flexible enough to deal with potential new sources of data or updated versions of the existing data
Making the code modular so that all pieces do not have to be run in order to produce a specific piece of output. For instance, a change to the covariates in the model should necessitate that only the model portion of the code is run, not the initial data cleaning and exploration code
For additional details, please refer to the Programming Revision Guidelines and Rubric document.
Comments