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

About this list Date view Thread view Subject view Author view Attachment view

From: arnaud_amsellem@ssga.com
Date: Wed 09 Apr 2003 - 17:55:56 EST


Message-id: <OFAD99F2AA.8B9052DB-ON80256D03.002A9A0E@ssga.statestreet.com>

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

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help


About this list Date view Thread view Subject view Author view Attachment view

This archive was generated by hypermail 2.1.3 : Tue 01 Jul 2003 - 09:11:41 EST