Hi the list

Is it possible to define a method with a signature that will have more 
argument than the generic method?
For exemple, print has only one argument, plot has two, can I do 
something like :

setMethod("print",signature=c(x="numeric",y="character"),function(x,y,...) 
......
setMethod("plot",signature=c(x="numeric",y="character",z="numeric"),function(x,y,z,...)
 
......

Thanks

Christophe

______________________________________________
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
and provide commented, minimal, self-contained, reproducible code.

Reply via email to