[R] pass additional parameters to function
Weiwei Shi
helprhelp at gmail.com
Thu Oct 19 23:57:54 CEST 2006
Hi,
I have a function like this:
f <- function(f1) { ...}
f1 is a function name itself.
I have two candidates for f1, and each of them have different numbers
of arguments, say
f2 has 2 while f3 has 3.
then my question is, how to write f function so that I can pass
different funcation names with different number of parameters?
thanks.
--
Weiwei Shi, Ph.D
Research Scientist
GeneGO, Inc.
"Did you always know?"
"No, I did not. But I believed..."
---Matrix III
More information about the R-help
mailing list