search for: setindex

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

Did you mean: getindex
2010 Mar 16
1
Problem with S3 to S4 transition
...quot;print",signature(x="DB"),function(x,...) DB.print(x)) setMethod("plot",signature(x="DB"),function(x,y,...) DB.plot(x)) setMethod("[" ,signature(x="DB"),db0.getindex) setMethod("[<-",signature(x="DB"),db0.setindex) setMethod("$" ,signature(x="DB"),db0.get) setMethod("$<-",signature(x="DB"),db0.set) As one can notice, I use the same mechanism for SHOW, PLOT and PRINT. Finally I created the package and imagined to use it using library statement Surprisingly...