[R] (no subject)

Hao Cen hcen at andrew.cmu.edu
Tue Dec 29 20:59:57 CET 2009


Hi,

I wonder how to pass several functions and their arguments as arguments to
a function. For example, the main function is

f = function(X  ) {
   process(X)
   ...


process(X)
}

I have a few functions that operate on X, e.g. g1(X, par1), g2(X, par2),
g3(X, par3).  par1, par2 and par3 are parameters and of different types.




More information about the R-help mailing list