[R] `acting' on variables

Tobias Verbeke tobias_verbeke at skynet.be
Wed Jul 9 21:04:26 CEST 2003

Dear list,

How can one "from within a function" act
on these variables ("outside" a function)
that were given as arguments.

If I have e.g. this beginning of a function:

foo <- function(tiro){
app.tiro <- 3 * tiro



How can I from within the curly brackets
e.g. concatenate the app.tiro to
the particular variable I passed as the
argument `tiro' ?

What is the technical name of this phenomenon ?

Thank you in advance,


PS forgive my non-programmer lingo

More information about the R-help mailing list