[Rd] Proper way to define cbind, rbind for s4 classes in package

2015-01-24 Thread Mario Annau
Hi all, this question has already been posted on stackoverflow, however without success, see also http://stackoverflow.com/questions/27886535/proper-way-to-use-cbind-rbind-with-s4-classes-in-package. I have written a package using S4 classes and would like to use the functions rbind, cbind with th

Re: [Rd] Proper way to define cbind, rbind for s4 classes in package

2015-01-24 Thread Michael Lawrence
On Sat, Jan 24, 2015 at 12:58 AM, Mario Annau wrote: > Hi all, > this question has already been posted on stackoverflow, however without > success, see also > http://stackoverflow.com/questions/27886535/proper-way-to-use-cbind-rbind-with-s4-classes-in-package. > > I have written a package using S4

Re: [Rd] Proper way to define cbind, rbind for s4 classes in package

2015-01-24 Thread Mario Annau
>> I have written a package using S4 classes and would like to use the >> functions rbind, cbind with these defined classes. >> >> Since it does not seem to be possible to define rbind and cbind directly >> as S4 methods (see ?cBind) I defined rbind2 and cbind2 instead: >> > > This needs some clar