next up previous
Next: Pointers and passing by Up: Working with objects Previous: Listing and sizing your

Scope (i.e., dealing with object names within functions)

if you use functions like lm and glm inside a function, you may run into scoping problems. Use the assign function to deal with this. For example, 

Chris Paciorek 2012-01-21