Do appropriate error checks on args if the standard error message is cryptic. Try to avoid explicit loops if there are suitable primitives available that can do the job. Be especially careful of building up a vector element by element in loops. When necessary, element by element computations should be done by creating an object and then replacing pieces of it rather than having an object grow by gluing together pieces. Graphics functions should change as little of the graphics state as possible.
Contributed functions are available on statlib .
Check the index on statlib to find out which functions are available. Go to the first , previous , next , last section, table of contents .