Displaying 1 result from an estimated 1 matches for "repeatedtrain".
2012 Jul 06
0
depends/suggests when making a new generic to override a function in a user package
Dear R developers,
I would like to add a new S3 generic to override a function in a user package, specifically:
STAR::as.repeatedTrain
I have followed the recommendation here:
http://cran.r-project.org/doc/manuals/R-exts.html#Adding-new-generics
doing this:
as.repeatedTrain<-function(x,...){
UseMethod("as.repeatedTrain")
}
as.repeatedTrain.default<-function(x,...) {
STAR::as.repeatedTrain(x)
}
but the ques...