Code: # svm is an S3 class, so: setOldClass("svm")
# Create the super class model: setClass("model") # For svm from e1071 this works (well gives no error): setIs("svm", "model") # For rvm from kernlab this gives and error: setIs("rvm", "model") # the "superclass" list for class "rvm" includes an undefined class "vm" Is there any way round this? I am trying to write a super class so that I can use the same interface for both of these classes. Thanks. ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.