This is the style guide for students who are collaborating with or working for me. A coding style guide, much like the APA style guide, is a set of conventions designed to make it easier to read, debug, share, and generally interact with code. I make no claim that these rules are the best or only way to write clear, legible code---they are just conventions that I try to follow, refined as I've learned more about programming.
c
, vcov
)._
and .
in variable names, with the following exceptions:_
in variables that are natural to name with subscripts. For instance, $y_j$ should be called y_j
. .
only for S3 method names. For example, the print
method for an object of class pusto
has to be called print.pusto
. Make function names verbs if possible.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.