search for: tables4

Displaying 1 result from an estimated 1 matches for "tables4".

Did you mean: tables
2006 Mar 15
1
setMethod confusion -best reference for S4 programming
...le function? Is it because it takes > Stephen> arguments beginning table(..., etc) > > Yes. Since table's argument list starts with "..." > you cannot directly write S4 methods for it. Although not fully tested, but a workaround could be to i) define an S4 method tableS4(), then ii) rename table() to table.default() and iii) make table() an S3 generic function, and finally iv) define table.tfSites() to call tableS4(). Would this work? If so, step (ii)-(iv) can be done in one step using the R.oo package. Example: library(R.oo) setClass("fSites", represen...