[R] How to count the number of parameters in a function

arnaud_amsellem@ssga.com arnaud_amsellem at ssga.com
Wed Apr 9 09:55:56 CEST 2003


I have the following function:
Myfunc <- function(var1,var2,.....,varN)
{ .....
}
In the above function I have a variable number of parameters (N>2). How can
I count how many parameters have been entered?

Any help appreciated

Thanks

Arno



More information about the R-help mailing list