minor edits (mainly indentation)
minor edits to control structures
Highlighted that ifelse is useful because it is vectorized.
minor edits to scoping
Moved example of parent environments directly below the text that describes it. Also added example of how to find the environment where a function is defined.
Merge pull request #33 from jdblischak/functions

Functions