[R] Is there a way to represent the ... argument in signature?

Gabor Grothendieck ggrothendieck at myway.com
Fri May 28 19:27:00 CEST 2004


Have a look at rbind.zoo in the zoo package for an example.


Wolski <wolski <at> molgen.mpg.de> writes:

: 
: Hi!
: 
: I guess that it cant work. but maybee I am wrong.
: I would like to define a function rbind.
: > rbind
: function (..., deparse.level = 1) 
: {
: which works only for objects of class Myclass
: 
: Is it possible to use something like
: setMethod("rbind",signature(...="Myclass",deparse.level="numeric")
: This gives an error. 
: Or should I use
: rbind.Myclass
: 
: Eryk.
: 
: Dipl. bio-chem. Eryk Witold Wolski     <at>     MPI-Moleculare Genetic   
: Ihnestrasse 63-73 14195 Berlin       'v'    
: tel: 0049-30-83875219               /   \    
: mail: wolski <at> molgen.mpg.de        ---W-W----    
http://www.molgen.mpg.de/~wolski




More information about the R-help mailing list