Hi Hao,
I suggest you try again, starting by read posting guide at footnote of this
email.
How about a title for the message? How about identify yourself?
bests
milton
On Tue, Dec 29, 2009 at 2:59 PM, Hao Cen <hcen@andrew.cmu.edu> wrote:
> 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.
>
> ______________________________________________
> R-help@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
>
http://www.R-project.org/posting-guide.html<http://www.r-project.org/posting-guide.html>
> and provide commented, minimal, self-contained, reproducible code.
>
[[alternative HTML version deleted]]