Other arguments are op1onal they have default values

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: redundancy (and mistakes) Rules for Variable Names •  Variable names must follow some rules –  May not start with a digit or underscore (_) –  May contain numbers, characters, and some punctua1on - period and underscore are ok, but most others are not –  Case- sensi1ve, so x and X are different •  Advice on variable names: –  Use meaningful names –  Avoid names that have meaning in R, e.g., func1on names. If in doubt, check: > exists("pi")! [1] TRUE! Func1on Style Expressions Func1on Style Expressions •  Func1ons contain code (expressions) that perform a specific task. The Inputs are called arguments The...
View Full Document

This document was uploaded on 02/16/2014 for the course STATISTICS 3026 at Columbia.

Ask a homework question - tutors are online