Skip to content

Help with functions

1 message · Liaw, Andy

#
Just remember that you are writing _functions_, not _macros_.  If you want
the function to be able to see an object, pass that object to the function
as one of the arguments.  Alternatively, you can use the lexical scoping in
R and define the (sub)functions inside the `main' function.

Andy

From: Pryseley Assam