Whilst not specific to R, the following principles can be a guide
as to how to write good programs in R.
- Literals (like a threshold of 0.5) should be recorded as a
symbol (in a variable);
- Functions should not have side-effects. That is, they should
only make changes to objects whose scope is that function;
Copyright © Togaware Pty Ltd
Support further development through the purchase of the PDF version of the book.
The PDF version is a formatted comprehensive draft book (with over 800 pages).
Brought to you by Togaware. This page generated: Sunday, 22 August 2010