[R-pkg-devel] Creating Accessor Methods

Glenn Schultz glennmschultz at me.com
Thu Mar 10 15:05:02 CET 2016


All,

I have a package with to S4 classes (MBSCashFlow, REMICCashFlow and BondCashFlow) all of which contain the slot Duration.  I would like have an accessor Duration that would work on multiple signatures.  Is this possible?  I have checked my books, help, BioConductor tutorials and it appears that this is not possible.  Has anyone ever run into this situation?

Best Glenn  


More information about the R-package-devel mailing list